Hacker News new | ask | show | jobs
by iand 4339 days ago
I guess I should have been clearer - I mean examples where you actually want different dependencies for the same application.

All uses of DI that I have seen have a single configuration that basically never changes. The DI is used for hooking up test objects, but not for reconfiguring the production app.