Re:Dependency Injection is dangerous for your career
by newt on Thursday February 10, 2011 @07:47AM
(#2201725)
I know you can implement it with out XML, I do DI all day long with functions.
Non-sequitur. Most .Net DI frameworks (as opposed to DI in Java, or DI without a framework) use configuration in code. This is generally much more readable and flexible than config in XML. Only some of them use functions for some things.
Non-sequitur. Most .Net DI frameworks (as opposed to DI in Java, or DI without a framework) use configuration in code. This is generally much more readable and flexible than config in XML. Only some of them use functions for some things.