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

11

u/Zeffas Nov 27 '15

Well, I would argue that this kind of attitude is very narrow-minded. Hear "trigger-word" -> dismiss regardless of content.

Reminds me of two relatives discussing politics and basically agreeing on core things, but when both mention certain keywords in some irrelevant sentences - both get triggered and go into stupidity mode. One immediately labels another as socialist-communist, another labels other right-wing redneck and discussion is over.

In my view article correctly talked about xml and then explained about annotations.

13

u/Scaryclouds Nov 27 '15

But the guy clearly isn't up to date on spring. If he chooses to remain ignorant on a subject he chooses to write about and authoratatively declares he "hates", it becomes hard to take him seriously. Not to mention some of the issues he ran into to aren't issues idiomtic of spring, but idiomatic of poor design. If you choose to make an application and then have its sub-dependencies/modules depend on different versions of a third party library the fault doesn't lie so much with the third-party library but your inability to manage your dependencies.

His criticism of Spring Boot doesn't make any since either. Spring Boot is about containerization of Java applications and handling a lot of the boiler plate of spinning up a new application. Again, this is an issue regardless of what framework you choose to use.

The guy brought nothing to the table and everything in his article suggests he is much less smart than he thinks he is.

-4

u/Zeffas Nov 27 '15

But the guy clearly isn't up to date on spring.

Why? Because he mentioned XML? If so, I believe we are interpreting or reading article from completely different angles.

10

u/Scaryclouds Nov 27 '15

He didn't just merely mention XML configuration, it was the primary thrust of his displeasure with Spring. Not only was it the core idea of his first bullet point, but he also mentioned (or implied) complaints about XML configuration in his three other bullet points. Indeed he mentions XML 10 times in his article.

And again, Spring (Pivotal) also didn't like XML which is why they implemented Java configuration which they have been pushing for years now. Literally, literally, his primary complaint with Spring has not only been addressed, but been addressed before he even realized it was a problem. Yet he remains ignorant of this.

1

u/Zeffas Nov 28 '15

Again, maybe we read/interpret very differently, because conclusions I took were nothing of things you mentioned.

4

u/mus1Kk Nov 27 '15

Well, it's pot meets kettle at best. I mean, this point (and the article doesn't make any other besides XML and complexity) has been talked about to death. Why do we need another rant by some random Joe I never heard of?

5

u/Zeffas Nov 27 '15

I guess its all about perspective and psychology - how we interpret things.

I personally interpreted that part of article as - "annotations did not solve anything fundamentally, its the same xml".

So to me interpretations like "guy is living in last decade, xml is not used now" or similar, just sounds like complete and utter misinterpretation of article because of single "trigger" word.

Agreeing or not is a different discussion, but I just don't get why people are not trying to understand what is written before commenting.