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
350
2014-10-21-osakapy
heavenshell
October 20, 2014
Tweet
Share
More Decks by heavenshell
See All by heavenshell
Autodoc
heavenshell
0
200
Other Decks in Programming
See All in Programming
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
270
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
380
rails newと同時に型を書く
aki19035vc
5
680
return文におけるstd::moveについて
onihusube
1
1.4k
20241217 競争力強化とビジネス価値創出への挑戦:モノタロウのシステムモダナイズ、開発組織の進化と今後の展望
monotaro
PRO
0
250
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
410
Go の GC の不得意な部分を克服したい
taiyow
3
1k
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
2
880
命名をリントする
chiroruxx
1
610
Flatt Security XSS Challenge 解答・解説
flatt_security
0
660
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
910
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Making the Leap to Tech Lead
cromwellryan
133
9k
Site-Speed That Sticks
csswizardry
2
230
Facilitating Awesome Meetings
lara
50
6.2k
Designing for humans not robots
tammielis
250
25k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
Thoughts on Productivity
jonyablonski
68
4.4k
A designer walks into a library…
pauljervisheath
205
24k
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/#/
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠