Re:Dependency Injection is a Virtue
by wyuenho on Monday January 07, 2013 @06:55AM
(#5020585)
For which any simple configuration mechanism will do, and as long as you stick with coding to the interface, the problem is solved. So while technically this is called DI in Java, it's simply code taken as granted in many dynamic languages because of duck-typing. So yes, this is totally valid use case, but one with no need for a DI container in dynamic languages to solve.
[ Parent
| on HN ]