Slide 31
Slide 31 text
DI good practice
ίʔυՄೳͳݶΓΠϯδΣΫλʔΛѻΘͳ͍ɻ
ͦͷΘΓɺΞϓϦέʔγϣϯͷΤϯτϦʔϙΠϯτͰ̍ͭͷ
ϧʔτΦϒδΣΫτΛੜͯ͠ΞϓϦέʔγϣϯΛىಈ͢Δ
“Your code should deal directly with the Injector as little as possible.
Instead, you want to bootstrap your application by injecting one root object.”