Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
9
4k
Gestaltung digitaler Lösungen – Produktions- oder Designprozess?
techstories
0
110
Develop iOS apps with Neovim / vimconf_2024
uhooi
1
120
DevTools extensions で 独自の DevTool を開発する | FlutterKaigi 2024
kokiyoshida
0
280
Swift Testing - iPlayground
chiaoteni
0
130
社内活動の取り組み紹介 ~ スリーシェイクでこんな取り組みしてます ~
bells17
0
360
カンファレンスの「アレ」Webでなんとかしませんか? / Conference “thing” Why don't you do something about it on the Web?
dero1to
1
150
eBPF Deep Dive: Architecture and Safety Mechanisms
takehaya
12
1.1k
subpath importsで始めるモック生活
10tera
0
380
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
130
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
3
1.4k
今からはじめるAndroidアプリ開発 2024 / DevFest 2024
star_zero
0
370
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
334
57k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Designing for humans not robots
tammielis
250
25k
The Invisible Side of Design
smashingmag
298
50k
How to Ace a Technical Interview
jacobian
276
23k
We Have a Design System, Now What?
morganepeng
50
7.2k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Thoughts on Productivity
jonyablonski
67
4.3k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Designing for Performance
lara
604
68k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
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/#/
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠