Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
なぜ誰もこう書いてくれない Dependency Injection
Search
Koji Saiki
October 15, 2017
Programming
5
1.8k
なぜ誰もこう書いてくれない Dependency Injection
Koji Saiki
October 15, 2017
Tweet
Share
More Decks by Koji Saiki
See All by Koji Saiki
Scaffold for Read and Debug JavaScript
kojisaiki
0
78
Angular で PCF した話
kojisaiki
0
550
Why is the subject of the story about Java support JDK?
kojisaiki
0
130
いまどきのSIer的品質向上
kojisaiki
0
150
誰も教えてくれなかったSEとしてただ一つ必要なこと
kojisaiki
0
450
真・なぜ誰もこう書いてくれないDependency Injection入門
kojisaiki
0
770
Other Decks in Programming
See All in Programming
[堅牢.py #1] テストを書かない研究者に送る、最初にテストを書く実験コード入門 / Let's start your ML project by writing tests
shunk031
11
6.2k
「正規表現をつくる」をつくる / make "make regex"
makenowjust
1
980
CSC305 Lecture 14
javiergs
PRO
0
330
レイトレZ世代に捧ぐ、今からレイトレを始めるための小径
ichi_raven
0
480
MAP, Jigsaw, Code Golf 振り返り会 by 関東Kaggler会|Jigsaw 15th Solution
hasibirok0
0
160
Building AI Agents with TypeScript #TSKaigiHokuriku
izumin5210
5
1.1k
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
140
WebRTC と Rust と8K 60fps
tnoho
2
1k
CloudNative Days Winter 2025: 一週間で作る低レイヤコンテナランタイム
ternbusty
7
1.8k
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
2
2.5k
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
280
DSPy Meetup Tokyo #1 - はじめてのDSPy
masahiro_nishimi
1
110
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Being A Developer After 40
akosma
91
590k
The Language of Interfaces
destraynor
162
25k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Unsuck your backbone
ammeep
671
58k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Mobile First: as difficult as doing things right
swwweet
225
10k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
How to train your dragon (web standard)
notwaldorf
97
6.4k
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.1k
Speed Design
sergeychernyshev
33
1.3k
Why You Should Never Use an ORM
jnunemaker
PRO
60
9.6k
Transcript
ͳͥ୭͜͏ॻ͍ͯ͘Εͳ͍ %FQFOEFODZ*OKFDUJPOೖ 2017/10/5
ࣗݾհ ! ͓ͳ·͑ɿࠤഢߛೋʢ͍͖͜͞͏͡ʣ ! ͱ͜ΖɿԬɾେࡕ ! ͭͿ͖ɿIUUQTUXJUUFSDPNTBJLPV ! ͿɿIUUQTHJUIVCDPNLPKJTBJLJ !
ͿΖ͙ɿIUUQJSPOZIBUFOBCMPHDPN
ɹ%FQFOEFODZ*OKFDUJPOɺґଘੑೖʜ ɹཧղ͍ͨ͠Ͱ͢ΑͶɻ
ʮͦ͜4FSWJDF$MBTTͷ*OTUBODFΛ ɹ*OKFDU͢ΕҰൃͰ͢Αɻʯ ɹͱ͔ݴ͍͍ͨͰ͢ΑͶɻ
ɹ·ͣ͜ΕΛ಄ʹୟ͖ࠐΜͰ͍ͩ͘͞ɻ
ʮ%FQFOEFODZ*OKFDUJPOʯͱ͍͏໊લ͔Β ɹػೳΛཧղ͢Δ͜ͱͰ͖·ͤΜʂʂʂ
z%*z͔Βਪଌ͢Δ͜ͱlෆՄೳzͰ͢ ! %FQFOEFODZ*OKFDUJPO ! ຊޠʹ༁͢Δͱʮґଘੑೖʯ ! ͔͜͜ΒೖΔͱཧղͰ͖·ͤΜ
͜ΕΘ͔Γ·͔͢ʁ
͜ΕΘ͔Γ·͔͢ʁ ! 0CKFDU0SJFOUFE1SPHSBNNJOH
͜ΕΘ͔Γ·͔͢ʁ ! 0CKFDU0SJFOUFE1SPHSBNNJOH ! .JTTJPO$POUSPM
͜ΕΘ͔Γ·͔͢ʁ ! 0CKFDU0SJFOUFE1SPHSBNNJOH ! .JTTJPO$POUSPM ! ӡ໋ͱ͍͏໊ͷ31( ! Ӭԕͱឺͷ13( !
܅ͱڹ͖͋͏31(
͜ΕΘ͔Γ·͔͢ʁ ! 0CKFDU0SJFOUFE1SPHSBNNJOH ! .JTTJPO$POUSPM ! ӡ໋ͱ͍͏໊ͷ31( ! Ӭԕͱឺͷ13( !
܅ͱڹ͖͋͏31( ! %FQFOEFODZ*OKFDUJPOOFX
ɹ͖͋ΒΊΑ͏
Ұ୴ɺ໊લΛΕ·͠ΐ͏ ! ਖ਼໊ࣜশͱ͔ຊޠͱ͔Εͯɺʮ%*ʯԿΛ͢Δͷʁͱ͍͏ͱ͜Ζ͔Βೖ Δͷ͕l࣮֬z
͡Ό͋ʮ%*ʯԿΛ͢Δͷʁ ! ུশɾਖ਼໊ࣜশΛҙࣝͤͣɺతɾୡ͍ͨ͜͠ͱΛཧղ͠·͠ΐ͏ ! ڭՊॻɿʮ࡞ͬͯཧղ͢Δ%*ίϯςφʯ IUUQEIBUFOBOFKQOPXPLBZ ! ͖ͩ͠͞Μ͕͢͞Ͱ͢
! هࣄͷཁͳͲ͍ͯ͠·ͤΜɻ͔͋͠Βͣɻ
͍ͭ͜ʹͯ͠΄͍͜͠ͱ
͍ͭ͜ʹͯ͠΄͍͜͠ͱ ! ཉ͍͠ΦϒδΣΫτʢΠϯελϯεʣΛ༻ҙͯ͘͠ΕΔ
͍ͭ͜ʹͯ͠΄͍͜͠ͱ ! ཉ͍͠ΦϒδΣΫτʢΠϯελϯεʣΛ༻ҙͯ͘͠ΕΔ ! Ұੜ͞ΕͨΦϒδΣΫτΛอ͓͍ͯͯ͘͠ΕΔ
͍ͭ͜ʹͯ͠΄͍͜͠ͱ ! ཉ͍͠ΦϒδΣΫτʢΠϯελϯεʣΛ༻ҙͯ͘͠ΕΔ ! Ұੜ͞ΕͨΦϒδΣΫτΛอ͓͍ͯͯ͘͠ΕΔ ! γϯάϧτϯΠϯελϯε͘ΕΔ
͍ͭ͜ʹͯ͠΄͍͜͠ͱ ! ཉ͍͠ΦϒδΣΫτʢΠϯελϯεʣΛ༻ҙͯ͘͠ΕΔ ! Ұੜ͞ΕͨΦϒδΣΫτΛอ͓͍ͯͯ͘͠ΕΔ ! γϯάϧτϯΠϯελϯε͘ΕΔ ! ςετͷͱ͖ɺςετ༻ͷΦϒδΣΫτͱखܰʹΓସ͑ͯ͘ΕΔ
ɹͭ·Γɺ ʮ͍͍ײ͡ʹΦϒδΣΫτΛ͘ΕΔͭʯ ɹͰ͢ɻ
͡Ό͋ɺͦΖͦΖΠέͯΔ໊લ͚ͭΔ͔ ! .BSUJOʮϓϩάϥϜΦϒδΣΫτΛͬͯಈ࡞͍ͯ͠ΔɻͦΕΛదʹࠩ͠ ࠐΜͰ΄͍͠ɻʯ
͡Ό͋ɺͦΖͦΖΠέͯΔ໊લ͚ͭΔ͔ ! .BSUJOʮϓϩάϥϜΦϒδΣΫτΛͬͯಈ࡞͍ͯ͠ΔɻͦΕΛదʹࠩ͠ ࠐΜͰ΄͍͠ɻʯ ! .BSUJOʮͭ·ΓzґଘੑzͷzೖzͶɻʯ
͡Ό͋ɺͦΖͦΖΠέͯΔ໊લ͚ͭΔ͔ ! .BSUJOʮϓϩάϥϜΦϒδΣΫτΛͬͯಈ࡞͍ͯ͠ΔɻͦΕΛదʹࠩ͠ ࠐΜͰ΄͍͠ɻʯ ! .BSUJOʮͭ·ΓzґଘੑzͷzೖzͶɻʯ ! .BSUJOʮͰ͢Ͷɻʯ ! Զʮʁʁʁʯ
ɹɹɹɹʊਓਓਓਓਓਓਓਓਓਓਓਓʊ ɹɹɹɹʼɹ%FQFOEFODZ*OKFDUJPOɹʻ ɹɹɹɹʉ:?:?:?:?:?:?:?:?:?:?:ʉ
͡Ό͋ɺͦΖͦΖΠέͯΔ໊લ͚ͭΔ͔ ! .BSUJOʮ%*ΛΒͤΔϓϩάϥϜʹͳΜ໊ͯલΛ͚ͭΑ͏ʁʯ
͡Ό͋ɺͦΖͦΖΠέͯΔ໊લ͚ͭΔ͔ ! .BSUJOʮ%*ΛΒͤΔϓϩάϥϜʹͳΜ໊ͯલΛ͚ͭΑ͏ʁʯ ! .BSUJOʮͷղऍͩͱ͜ΕzίϯςφzͳΜͩΑͶɻΦϒδΣΫτΛఏڙ͠ͳ ͕ΒɺϒϥοΫϘοΫεͰͪΌΜͱࣄΛ͜ͳͯ͘͠ΕΔΞΫλʔɻʯ
͡Ό͋ɺͦΖͦΖΠέͯΔ໊લ͚ͭΔ͔ ! .BSUJOʮ%*ΛΒͤΔϓϩάϥϜʹͳΜ໊ͯલΛ͚ͭΑ͏ʁʯ ! .BSUJOʮͷղऍͩͱ͜ΕzίϯςφzͳΜͩΑͶɻΦϒδΣΫτΛఏڙ͠ͳ ͕ΒɺϒϥοΫϘοΫεͰͪΌΜͱࣄΛ͜ͳͯ͘͠ΕΔΞΫλʔɻʯ ! .BSUJOʮz%*ͷΛෛ͏ίϯςφzͶɻʯ ! Զʮʁʁʁʁʁʁʯ
ɹɹɹɹɹʊਓਓਓਓਓਓਓʊ ɹɹɹɹɹʼɹ%*ίϯςφɹʻ ɹɹɹɹɹʉ:?:?:?:?:?:ʉ
ɹ͖͋ΒΊΑ͏
ɹͪΐͬͱ͕Μͬͯߟ͑Δͱɺ ɹ%*ίϯςφͷzίϯςφzͬͯɾɾɾ
͜͏͡Όͳͯ͘
͜͏ʁ
Ͱɺ͜͏ʁ ΦϒδΣΫτ Πϯελϯε γϯάϧτϯ औΓἧ͑ͯ·͢ʂ ΦʔμʔϝΠυ ঝΓ·͢ʂ
·ͱΊ ! z%FQFOEFODZ*OKFDUJPOzɺzґଘੑೖzͱ͍͏ݴ༿ΕͯɺతΛΓ·͠ ΐ͏ɻ֮ͦͯͬͯ͑͠·͠ΐ͏ɻ ! z%*ίϯςφzʮ%*ͷׂΛ୲͏ϓϩάϥϜʯఔʹΏΔ֮͑͘·͠ΐ͏ɻ ! ͖ͩ͠ͳ͓͖ɹ͞Μɺ͍Β͢ͱɹ͞Μɺແஅ༻Ͱࣦྱ͠·͢N @@ N
͓ΘΓ kojisaiki/saikou9901