3 ms·
Dependency injection really took root in Java. The reason is actually because if a design flaw: lack of duck typing combined with the ability to specify concret
by jmyeet 5y ago
Dependency injection really took root in Java. The reason is actually because if a design flaw: lack of duck typing combined with the ability to specify concrete types in Method signatures.
Go doesn’t really have this problem so I’m not convinced it needs DI at all.
C++ doesn’t really have much DI mindshare because it has templates (and macros).
Goice (Guice for Go) anyone?