Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
2014-10-21-osakapy
Search
heavenshell
October 20, 2014
Programming
0
360
2014-10-21-osakapy
heavenshell
October 20, 2014
Tweet
Share
More Decks by heavenshell
See All by heavenshell
Autodoc
heavenshell
0
210
Other Decks in Programming
See All in Programming
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
7
5.2k
技術的負債の正体を知って向き合う
irof
0
260
iOSでSVG画像を扱う
kishikawakatsumi
0
170
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
360
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
110
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
900
AI駆動で0→1をやって見えた光と伸びしろ
passion0102
1
840
Introduce Hono CLI
yusukebe
6
3.1k
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
マンガアプリViewerの大画面対応を考える
kk__777
0
250
Cursorハンズオン実践!
eltociear
2
1.2k
Google Opalで使える37のライブラリ
mickey_kubo
3
150
Featured
See All Featured
Building Adaptive Systems
keathley
44
2.8k
How to train your dragon (web standard)
notwaldorf
97
6.3k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
Side Projects
sachag
455
43k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Mobile First: as difficult as doing things right
swwweet
225
10k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Why Our Code Smells
bkeepers
PRO
340
57k
Bash Introduction
62gerente
615
210k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Transcript
ΤσΟλʹ͍ͭͯ @heavenshell 2014/10/21#osaka.py
͓·͑ɺ୭Α Software engineer, Programmer http://github.com/heavenshell py-autodoc, py-qiita, py-jokk, vim-pydocstring, vim-
jsdoc, vim-connpass, etc — Python, Vim, Vimperator PHP, Perl, Java, JavaScript ͖ͳ Python ͷඪ४ؔ print() ͱ dir()
None
σεϚظؒத Java(ϓϩδΣΫτ1) ͱ JavaScript(ϓϩδΣΫτ2) ͱࢄ KVS ͷઃఆ(ϓϩδΣΫτ3)ͱอक ͔ͬͰɺPython ͷίʔυʹҰඵ ৮ͬͯͳ͍ͷͰɺΤσΟλ
ͷ͠Ͱ ͠·͢
None
Python Λॻ࣌͘ͷڥ Terminal zsh tmux Vim
Ѫ༻͍ͯ͠Δ Vim Plugin ୡ Jedi Pydocstring QuickRun QuickRun-hook-unittest Autopep8
Jedi ิϓϥάΠϯ Vim / Emacs / SublimeText2 ͳͲͰ͑Δ ิɺpydoc ͷදࣔ
etc ศར
Pydocstring Ϋϥεɺؔɺϝιουͷ docstring Λੜ Python ͷ docstring Λࣗಈతʹੜ :param foo:
foo Έ͍ͨͳͷ ศར
QuickRun ΤσΟλͰ։͍͍ͯΔͷΛ࣮ߦͯ͘͠ΕΔ ͜ΕʹϑοΫΛՃͰ͖Δػߏ͕͋ΔͷͰɺϢχο τςετͷಛఆͷςετͷΈΛ࣮ߦͰ͖ΔͷΛ࡞ͬ ͨ ͨͩ͠ nose ͘͠ pytest ʹґଘ
ศར
Autopep8 @hhatto ͞Μ࡞ͷ Autopep8 Λ Vim ͔Β͑Δ ϓϥάΠϯ(@tell-k ͞Μ࡞)͕͕͋ͬͨɺ࡞Γ͕͋·Γ ؾʹೖΒͳ͔ͬͨͷͰɺউखʹ
fork ͯ͠ Golang ͷ Fmt ϓϥάΠϯΛݩʹॻ͖͑ͨ ύονͬͯϨϕϧ͡Όͳ͍Ґʹॻ͖͑ͨͷͰ Pull Request ͢Δ͔ΜͰΔ ศར
PyCharm ͱ͔ͷ IDE ͑ී௨ʹग़དྷΔͷ͔͠ Εͳ͍(Python ͍࢝Ίͨࠒʹແ͔͚ͬͨͲ) ͰෆศͩͳʔͱࢥͬͨͷΛ࡞ΕΔ Vim ͕ੑʹ ߹ͬͯͨ
͋ͱΤσΟλͱͯ͠ͷૢ࡞ੑ
Ѫ༻͍ͯ͠Δ Vim Plugin ୡ Jedi → AUTHORS.txt ʹ໊લ͕ࡌͬͯΔ(@ hhatto ͞Μ
) Pydocstring → ࣗ࡞ QuickRun QuickRun-hook-unittest → ࣗ࡞ Autopep8 → Fork ͯ͠ॻ͖͑
ͦͷଞͷศརͳͷ PyConJP 2014 ͷ @tell-k ͞Μ ͷεϥΠυݟΔͱྑ͍ͱࢥ͏ http://tell-k.github.io/pyconjp2014/#/
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠