A simple explanation of dependency injection
A simple explanation of dependency injection
Submitted by Evil Tester - Alan Richardson's blog on Mon, 17/03/2008 - 11:54.For the longest time I didn’t know what dependency injection meant - anytime I looked it up I glazed over thinking it really complicated.I only recently found out while learning TDD that I can describe dependency injection in terms of - pass an object in as a parameter instead of instantiating it in the class [...]
