News for hackers. Stuff that matters.
Re:You probably don't need a dependency injection framework by layer8 on Sunday May 25, 2025 @05:59PM (#44091588)
The name is confusing because originally [0] it was exclusively about dynamic injection by frameworks. Somehow it morphed into just meaning suitable constructor parameters, at least in some language communities.

I like “dependency parameters”. Dependencies in that sense are usually what is called service objects, so “service parameters” might be even clearer.

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

There are no comments on this comment yet.