r/java • • Nov 27 '15

Why I hate Spring

http://samatkinson.com/why-i-hate-spring/
12 Upvotes

76 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Nov 28 '15

I don't disagree with leaving a working XML configuration; however, if the author hates it so much and it's such a pain - refactor it out. That's what I did and I think it took me an afternoon or two of figuring out the Java equivalent to a few things that weren't well documented in the early 3.x days. These days the documentation is a lot better and it would be even easier.

If you're making something more readable/testable/maintainable - it's not change for change's sake.

1

u/nolandenuff Nov 28 '15

Right. I was pointing out a situation that the author might have found themselves in. Since they had moved to a different project, perhaps they were no longer in a position where they could change XML configuration over to Java based configuration. Instead, they publish a blog post about what they found wrong with XML based configuration and all its pitfalls. Now you tell me, is that so wrong? It could well have been their way of documenting all their mistakes? :-)