4 ms·
The difference is that modules systems specify statically resolved dependencies between code files. DI and IoC specify dynamically resolved dependencies between
by stupidcar 11y ago
The difference is that modules systems specify statically resolved dependencies between code files. DI and IoC specify dynamically resolved dependencies between instances of objects. They are both useful, but they both solve different problems.