3 ms·
Maybe you can go into more detail about what kind of modules you mean, but generally Dependency Injection allows using different implementations of a thing (mod
by andor 3y ago
Maybe you can go into more detail about what kind of modules you mean, but generally Dependency Injection allows using different implementations of a thing (module?) in the same place.
The most common use case for me is test doubles (mocks). People who are serious about tests usually use some kind of Dependency Injection.