4 ms·
Does anyone have resources or ideas to share on the merits of dependency injection in js/ts ? To me it almost always feels clunky and antithetical to the spcrip
by mininao 11mo ago
Does anyone have resources or ideas to share on the merits of dependency injection in js/ts ? To me it almost always feels clunky and antithetical to the spcriptey nature of JS/TS.
- tantalor 11mo agoWhy would the choice of programming language matter at all with respect to DI?
- pshirshov 11mo agoIt shouldn't. DI as a set of patterns and approaches can be implemented anywhere. The language and the runtime can help you or be a hindrance, but the principles are generic.
- deleted 11mo ago[deleted]
- pshirshov 11mo agoWe described our reasoning behind flavor of DI (dependency graph solvers) in several talks which are listed here https://github.com/7mind/izumi?tab=readme-ov-file#docs https://github.com/7mind/izumi?tab=readme-ov-file#docs Most of the benefits do not depend on any particular language/runtime/stack.
- deleted 11mo ago[deleted]