top | item 36642741

(no title)

andor | 2 years 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.

discuss

order

No comments yet.