I'd like to start a discussion about
this topic, but encourage discussion by all, not just Craig.
Someone was trying to explain to be me why autowiring should never be used. This
blog post was used as an example along with some explanation. I can find evidence online to support
both sides.
So far, I've been using Spring autowiring for the classes we write and explicit wiring for things like DataSources. The application is large, but organized and we don't have trouble finding things. There are package conventions that the team has agreed to which makes finding things easy. I fail to see how listing all the non-redundant wiring makes things better.
My question: why am I wrong? When I was first getting used to
JUnit and learning to trust my gut, posting "why am I wrong" helped a lot. Hopefully it will here.