News for hackers. Stuff that matters.
Re:Workers who love 'synergizing paradigms' might be bad at ... by layer8 on Friday March 06, 2026 @02:29PM (#47279897)
When Martin Fowler coined the term Dependency Injection [0], that was specifically for the context of container instrumentation. Merely passing service objects as constructor parameters is more akin to the Strategy pattern. At least in the Java world where it originated, “dependency injection” has always been about wiring application components and services together at runtime based on configuration, often directly injecting the dependencies into object fields via reflection, and not about statically compiled constructor invocations that happen to pass service objects.

[0] https://martinfowler.com/articles/injection.html

There are no comments on this comment yet.