Introducing dependency injection into existing systems
A while ago I was faced with an interesting challenge: I was busy introducing dependency injection into an existing system. Almost every method call inside this system was a static call, so every class was hard coded to their dependencies. But, I might be going a little bit too fast here. What is dependency injection? […]