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
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
2
150
Back to the Future: Let me tell you about the ACP protocol
terhechte
0
140
あなたとKaigi on Rails / Kaigi on Rails + You
shimoju
0
120
Advance Your Career with Open Source
ivargrimstad
0
470
オープンソースソフトウェアへの解像度🔬
utam0k
12
2.5k
CSC509 Lecture 04
javiergs
PRO
0
300
なぜGoのジェネリクスはこの形なのか? Featherweight Goが明かす設計の核心
ryotaros
7
1.1k
CSC509 Lecture 06
javiergs
PRO
0
260
その面倒な作業、「Dart」にやらせませんか? Flutter開発者のための業務効率化
yordgenome03
1
110
大規模アプリのDIフレームワーク刷新戦略 ~過去最大規模の並行開発を止めずにアプリ全体に導入するまで~
mot_techtalk
0
430
理論と実務のギャップを超える
eycjur
0
120
アメ車でサンノゼを走ってきたよ!
s_shimotori
0
220
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
139
7.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
54
3k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
620
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
What's in a price? How to price your products and services
michaelherold
246
12k
Scaling GitHub
holman
463
140k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Building Applications with DynamoDB
mza
96
6.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
32
2.3k
The World Runs on Bad Software
bkeepers
PRO
71
11k
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/#/
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠