Re:Java Doesn't Need to Be So Bad
by nigelsampson on Thursday December 08, 2011 @06:59PM
(#3331808)
Agreed, constructor injection is pretty much the only type of "dependency injection" that makes sense to me.
The less magic the better.
My preference has always been have a constructor which takes in the interfaces required. Its very explicit, makes testing a breeze and with no magic is much easier to read.