←back to thread

74 points holmofyHu | 6 comments | | HN request time: 0.326s | source | bottom
Show context
pylua ◴[] No.41279610[source]
I don’t get all the spring hate here. Spring is a great framework, and the sheer developer mass means it’s easy to hire developers that can quickly be onboarded. It’s definitely opinionated, but a lot of the opinions are correct.

I think that rust is missing something like the above, and the attempt is appreciated by me.

replies(2): >>41279940 #>>41280712 #
1. re-thc ◴[] No.41279940[source]
> I don’t get all the spring hate here.

It's popular to hate on Java. It's become a sad trend.

The funny thing is most people that hate it go on to re-invent or use something vastly similar eventually (even if they don't see it that way).

Spring does it for you right at the start. People hate to read the documentation or understand how things (including how Java) works and just blame it.

replies(2): >>41280074 #>>41282543 #
2. tdb7893 ◴[] No.41280074[source]
It's a 29 year old language. It has done an amazing job adapting over time and is a technical marvel (and I still think it is a better than average language overall) but there are tons of valid criticisms of it and I don't begrudge someone not loving the language.
replies(2): >>41280231 #>>41281987 #
3. wredue ◴[] No.41280231[source]
Yeah. But people will be like

“Java sucks. Ruby/Python/Haskell is the shit”

4. okr ◴[] No.41281987[source]
The language is old, the JVM is not. As a human i am happy that my language is well understood, independent of how old i am. I can express myself, and thats what counts. From time to time we get new words. But i do not have to ditch the old stuff. Is it not astounding how old many of the programming languages have become?
replies(1): >>41282304 #
5. pylua ◴[] No.41282304{3}[source]
They do a great job of keeping the language fresh, on many levels. Java streams, encryption, syntax updates. It doesn’t feel old to me.
6. signal11 ◴[] No.41282543[source]
It’s not about Java hate.

Historical context: Spring was a lightweight alternative to J2EE. It started and became popular in financial services because no one wanted the boilerplate hell that was J2EE.

By your logic we should all have stuck to J2EE as that was what the vendor (Sun) was pushing.

Today Spring has become the new J2EE. It’s no longer lightweight. It has a gravitational field at this point. (Except less boilerplate than J2EE because the Spring devs cared about dev ex more than J2EE’s creators did.)

Like J2EE back then, today, once you step out of the “framework == language” mentality, you’ll see there’s a bunch of ways to achieve what Spring does for you. Often with less code, less magic, and faster.

This is not to say Spring is always bad. Use it if it makes sense — for some small teams it may make a lot of sense. But don’t sleepwalk into it because “Java means Spring.” It doesn’t.