Very true! When I moved from PHP to NodeJS I immediately looked for DI which I
knew from @symfony, but it turns out:
https://twitter.com/jasongorman/status/772344112372654080
4 replies
@coderbyheart complexity. And resolving the
actual configuration in your IDE is also no longer trivial and highly framework
specific.
@coderbyheart blocks in one location is nice
but you add new configuration semantics on top of your languages "module"
loader, which adds
@coderbyheart since then with a lot of
separate libraries but a DI container/framework is no longer on my wishlist.
Defining your building
@coderbyheart if your code is S.O.L.I.D, the
D makes sure you can test your modules without a DI container. I've made fairly
complex apps