4 ms·
DI is an simple idea that most people will agree. For unknown reason, 00s Java community made their enterprisey culture upon heavy DI container. I was skeptical
by fomine3 3y ago
DI is an simple idea that most people will agree. For unknown reason, 00s Java community made their enterprisey culture upon heavy DI container. I was skeptical for DI due to that.
- ehnto 3y agoDI found it's way into PHP pretty early thanks to Java devs porting it over I suspect. It's one of the pleasantries I enjoyed about the ecosystem around PHP. It has a blend of good engineering and pragmatism thanks to the proliferation of a few good patterns in popular frameworks. I suspect the focus on software patterns in PHP was a knee jerk reaction to the unstructured chaos of the early PHP ecosystem.