News for hackers. Stuff that matters.
Re:Inversion of Control Containers and the Dependency Inject... by TreyS on Wednesday February 21, 2024 @06:23PM (#39461073)
Guice docs: “There are many advantages to using dependency injection, but doing so manually often leads to a large amount of boilerplate code to be written. Guice is a framework that makes it possible to write code that uses dependency injection without the hassle of writing much of that boilerplate code”

This is a common misconception. Guice’s docs delineate between dependency injection as a pattern and Guice as a framework that supports that pattern.

https://github.com/google/guice/wiki

There are no comments on this comment yet.