3 ms·
I still hate it. It gets in my way every day at work. I love to write small, self-contained, testable units. But our code is peppered with @SpringAnnotations. Y
by Hackbraten 5y ago
I still hate it.
It gets in my way every day at work. I love to write small, self-contained, testable units. But our code is peppered with @SpringAnnotations. You can never be sure what’s really going to happen.
Also we don’t upgrade because teammates are afraid of breakage. Because of that, we’re now at five different versions of Spring in our app.
If I had my way, I would rip it all out.
- agumonkey 5y agoI stopped following the Java world (beside major releases language changes) but i'm surprised that Java has consistently bred misery. Something in this culture is special.
- marginalia_nu 5y agoI do a lot of java development (even in my free time, voluntarily). I find it helps a lot when you avoid the Spring ecosystem, really anything that's popular or buzzword:y. The more buzzwords there are and the more start-ups you find on the project page, the more of your day you spend programming in some more or less undocumented YAML dialect, desperately piecing together snippets you don't understand from outdated tutorials and remarks on stack overflow. As I mentioned in a comment earlier today, frameworks make the easy things easier and the hard things harder. If your needs are to build a really basic CRUD app, then sure, Spring is nice. But since it probably isn't, if indeed you're doing something else more than a hello world TODO app, then it's an unimaginable pain in the ass, and it's a lot easier to cobble together what subset of its features you need from other libraries.
- agumonkey 5y agoSpring is still the first name that comes with Java jobs (from my limited sample). What features / libs do you enjoy (design/perf/safety) ?
- mosdl 5y agoI've found using just jersey libs tends to give me enough power while being maintainable for WebApps. Add your own annotations when needed, etc
- Hackbraten 5y agoThe core language has dramatically improved in the last decade. It’s not exactly a joy to use, but it feels a lot more pleasant than the XML-ridden, 200-char-line-length monstrosity we used to have in the 00s.
- agumonkey 5y agoI saw that, that's why I'm surprised spring still ~~grams~~ harms devs. I thought the culture evolved too.
- Hackbraten 5y ago> spring still grams devs Apologies but English is not my first language. I can’t find “to gram” in any dictionary, including urbandictionary. Care to explain?
- agumonkey 5y agofinger failure on my side, I meant "I'm surprised spring still harms devs"
- codebolt 5y agoWhat about Spring4Shell, isn't updating at this point pretty much a necessity?
- Hackbraten 5y agoIt is. We’re paying the price right now, and justifiably so.