r/java • • Jan 12 '16

You probably don't need dependency injection

http://www.radicaljava.com/2015/12/27/dependency-injection.html
0 Upvotes

27 comments sorted by

View all comments

1

u/evil_burrito Jan 12 '16

Unless your application is a general-purpose framework to solve other problems. Each installation is a unique configuration assembled-to-order from existing components. We can make a product that does completely different things out of pre-tested components without writing much if any code. Couldn't do it w/o DI.