~/talk

Slaying Sacred Cows: Deconstructing Dependency Injection

Talkat Build Stuff 2017 · 2017-11-15..11-19· [software-architecture]
slides:none on file

Argues that dependency injection frameworks like Spring or Guice add little value beyond plain constructor injection, showing Java examples and a toy service wired two ways (manual vs Guice) where wiring is only ~50–100 lines for a 20–50 component app. Claims IOC containers slow startup, reduce discoverability, and promote deconstructive testing that mocks large graphs instead of focused units. Notes one exception: very large monoliths (hundreds of components) may trade coherence for easier team scaling, but recommends breaking systems down instead.

AI-written summary · about

  1. 0:00Introduction and semantics
  2. 4:02Dependency inversion
  3. 8:18Defining dependency injection
  4. 11:33Inversion of control
  5. 15:19Justification of DI frameworks
  6. 18:53Critique of automatic wiring
  7. 24:05Testing anti-patterns
  8. 33:50Audience Q&A
  9. 38:41Conclusion and takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.