~/talk

Slaying Sacred Cows: Deconstructing Dependency Injection

Talkat GeeCON Prague 2017 · 2017-05-17..05-19· [software-architecture]
slides:none on file

Argues that dependency injection as implemented by Spring/Guice/Angular is often unnecessary and harmful: manual constructor wiring (new + constructors) matches container wiring but remains simpler, while runtime reflection and classpath scanning increase startup time, obscure origins of dependencies, and delay errors until runtime. Claims testing with containers produces deconstructive testing full of incidental mocks and brittle setup. Concludes IoC containers only buy a tradeoff for very large legacy monoliths and that Dagger2 is a rare compile‑time exception.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:05Why this talk exists
  3. 2:49Dependency inversion basics
  4. 7:28Dependency injection explained
  5. 11:02DI vs inversion of control
  6. 15:57Why use DI containers
  7. 19:10Wiring components comparison
  8. 25:08Testing with DI containers
  9. 31:10IOC as a solution in search
  10. 38:15When IOC is valid concern
  11. 42:09Conclusion and opinions
  12. 43:35Q&A on testing and IOC
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.