I'm very curious to hear from someone who likes DI in a non-OOP language - why? What techniques do you use to make the level of indirection feel like a help, rather than a hindrance, in your codebase?
Reading this article reminded me that DI has a lot of advocates, but I've never heard a compelling reason to use it in most codebases.
Reading this article reminded me that DI has a lot of advocates, but I've never heard a compelling reason to use it in most codebases.