Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
コードの片付け
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kei Shiratsuchi
PRO
July 25, 2016
Programming
140
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
コードの片付け
Kei Shiratsuchi
PRO
July 25, 2016
Transcript
16 slides
ίʔυͷย͚ Rails Girls Tokyo, 2016.07.23(Sat) നܛ, Shiratsuchi Kei, @kei_s
@kei_s • ന ܛ Shiratsuchi Kei • Web app engineer
• http://kei.shiratsu.ch/ • http://github.com/kei-s
ίʔυͷย͚ʁ • ͍ͬͯͳ͍ϑΝΠϧɾߦ Λআ͢Δ͜ͱ
ͳͥʁ • ίʔυڞ༗ͷ͔ͩΒ ͍ͯ͘͢͠
ྫ͑ • app/helpers/ comments_helper.rb • ίϝϯτػೳΛ ࡞ͬͨ࣌ɺࣗಈ Ͱ࡞ΒΕ͍ͯͨ
தΛݟΔͱ • view Ͱ͑ΔؔΛஔ͘ͱ͜Ζ • ࣗͰؔΛՃ͠ͳ͍ͳΒɺ ͜ͷϑΝΠϧແͯ͘ྑ͍
ย͚Α͏ʂ • ফͯ͠ɺͳ͘ಈ͘ • ඞཁʹͳͬͨΒɺ ͦͷ࣌ʹॻ͚େৎ
ͳͥʁ • ίʔυڞ༗ͷ͔ͩΒ
ίʔυڞ༗ͷ • νʔϜ։ൃͰɺίʔυଞਓͱ ڞ༗͢Δ • ࡢͷࣗɺଞਓͩ͠ • ޙ͔ΒࢀՃͨ͠ਓʹɺʮΘ͟ͱ ͍ͯ͠Δͷ͔ʯʮআ͠Εͨ ͷ͔ʯΛผ͢Δͷ͍͔͠Β
ίʔυڞ༗ͷ • ʹͷ͕์ஔ͞Ε͍ͯΔ ͱɺ࣍ʹདྷͨਓ͕ࠞཚ͢Δ
ফ͍͍ͯ͠ͷʁ • Git Λ͑ɺͤΔʂ
ຊʹย͚͍͍͔ͯෆ҆ • ย͚ͯɺͪΌΜͱಈ͔͘ ෆ҆ • ย͚ͯɺಈ͔ͯ͠ΈΑ͏ʂ • ࢥͬͨͱ͓Γಈ͔ͳ͔ͬͨΒɺ Git ΛͬͯɺͤΔʂ
ͳ͔ͬͨ͜ͱʹ͍͍͔ͯ͠ ෆ҆ • Git Ͱɺʮย͚ͨʯ͜ͱΛه Ͱ͖Δ • هΛ͑ɺ͍ͭย͚ͨ ͷ͔Θ͔Δ •
ޙ͔ΒͤΔʂ
Git ͷ͍ํ… http://dotinstall.com/lessons/basic_git http://book.impress.co.jp/books/ 1114101005.php
ϘʔΠεΧτɾϧʔϧ • ϩόʔτɾCɾϚʔνϯ ʢϘϒ͓͡͞Μʣ • ʮϘʔΠεΧτʹେͳϧʔϧ͕͋Γ·͢ɻ ͦΕɺʮདྷͨ࣌ΑΓඒ͘͠ʯͰ͢ɻͨͱ͑ࣗ ͕དྷͨ࣌ʹΩϟϯϓ͕Ԛ͘ͳ͍ͬͯͨͱͯ͠ ɺͦͯͨ͠ͱ͑Ԛͨ͠ͷ͕ࣗͰͳ͔ͬͨͱ͠ ͯɺ៉ྷʹ͔ͯ͠ΒͦͷΛڈΔɺͱ͍͏ϧʔ
ϧͰ͢ɻͦ͏ͬͯɺ࣍ʹΩϟϯϓʹདྷΔਓୡ͕ ؾ࣋ͪΑ͘աͤ͝ΔΑ͏ʹ͢ΔͷͰ͢ʯ
ίʔυͷย͚ • ͪΐͬͱͣͭย͚Δ • ៉ྷ͔Ͳ͏͔݁Ռ • ͍͖ͳΓᘳΛࢦ͞ͳ͍
More Decks by Kei Shiratsuchi
See All by Kei Shiratsuchi
モノリスとマイクロサービスの橋渡し - ベターからモアベターへ
kei_s
PRO
0
150
なぜ リアーキテクティング専任チームを作ったのか
kei_s
PRO
2
1.7k
実践 Rails アソシエーションリファクタリング / Rails association refactoring in practice
kei_s
PRO
8
10k
「Go言語でつくるインタプリタ」を Rust で移植してみた / "Write An Interpreter In Go" In Rust
kei_s
PRO
1
2.1k
Rust言語で作るインタプリタ / Write An Interpreter In Rust
kei_s
PRO
2
840
育児休業のご報告と、育児グッズとしてのスマートスピーカー / Parental Leave and SmartSpeaker
kei_s
PRO
0
910
「深層学習による自然言語処理」読書会 第6章2.7
kei_s
PRO
0
510
「深層学習による自然言語処理」読書会 第5章5.1
kei_s
PRO
0
520
最近個人的に気になるプログラミング言語おさらい Ruby, Python, Go, Rust, Julia
kei_s
PRO
0
1.1k
Other Decks in Programming
See All in Programming
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
130
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
350
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
290
AIコーディング時代のKotest ユニットテストから APIレベルの仕様固定化テストへ
ooga04
0
360
あなたはMCPの機能を、まだ知らない。
4geru
1
760
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
880
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
1
410
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
450
手の動かし方がわからなかった私が個人開発者になるまで
usagi0920_pochi
0
360
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
450
Kotlin Fest 2026: Kotlin コンパイラに Contribute してみよう! - Kotlin/Wasm で深い再帰を書けるようにした話
ternbusty
1
440
Featured
See All Featured
A designer walks into a library…
pauljervisheath
211
25k
Building Adaptive Systems
keathley
44
3.3k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Art of Programming - Codeland 2020
erikaheidi
57
15k
Navigating Team Friction
lara
192
16k
Mobile First: as difficult as doing things right
swwweet
225
10k
Believing is Seeing
oripsolob
1
290
Joys of Absence: A Defence of Solitary Play
codingconduct
1
590
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.7k
For a Future-Friendly Web
brad_frost
184
11k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
49k
The agentic SEO stack - context over prompts
schlessera
0
1k