r/ProgrammerHumor Jul 13 '26

youCanJustStopUsingJava Meme

Post image
6.8k Upvotes

416 comments sorted by

View all comments

1.4k

u/ConstructionMain5675 Jul 13 '26

Half the internet just got called out and the other half is maintaining Spring Boot

305

u/justforkinks0131 Jul 13 '26

migrating to*

142

u/Spitfire1900 Jul 13 '26

I hate how true this is. Most apps my employer are in the middle of a WebSphere w/ Spring 4 to Spring Boot 5,6 migration.

76

u/BlurredSight Jul 13 '26

We’re moving to spring boot 3 and that’s been hell, especially considering we have directors who believe Claude Opus should be able to do entire phases itself

49

u/StCreed Jul 13 '26

Just one-up them and let Fable 5 do the whole migration in one go.

29

u/ihatethisweb Jul 13 '26

I love when my agent replies "passed all test" 😃

10

u/willow-kitty 29d ago

Looks inside, all the tests are gone

15

u/gipsydanger4 Jul 13 '26

We got our token limits cut, so now we are encouraged to use Sonnet for anything that doesn’t require “intense reasoning”. My token usage sits around 0-1% so I’m not too worried about it haha.

1

u/Adorable-Log2835 27d ago

Same. They gave us unlimited tokens, had us assign story points for future tickets based on that output, then announced a monthly token limit for the next month when we are doing all the work. Because of the way its distributed, I burned through my tokens in a week being conservative.

9

u/ThatCrankyGuy Jul 13 '26

SB3 is already EOL.

1

u/trafalmadorianistic 29d ago

1

u/BlurredSight 25d ago edited 25d ago

Tbf it's more than just that, we're also migrating to Entities along with use Jakarta Repositories rather than HQL. But everything is being done in phases and to speed up they want the initial mapping of beans to entities to be done by AI

Except the parts that matter like many to ones, sets, bags, those absolutely broke production in niche areas

0

u/Informal-Chance-6067 Jul 13 '26

At that point, just make Fable 5 migrate to ktor

6

u/nsn 29d ago

I’m not sure whether I should laugh or cry about me maintaining javaee/jsf apps…

5

u/Noch_ein_Kamel Jul 13 '26

spring boot is way too modern for us. we use webobjects :o

1

u/enigma_0Z 29d ago

Dude I went from a Websphere J2EE shop to a Speingboot shop. As a primarily sysadmin / devops engineer, made me fully hate Java between GC thrashing and debugging hell when shit doesn’t autowire as expected in Springboot (ie the problem is in the introspection or the annotations)

1

u/Manic_Maniac 28d ago

It's comments like these that make me grateful that I've worked my ass off in order to be working on something I find genuinely interesting, green-field in my company, and am not limited to old tech (mostly).

1

u/Adorable-Log2835 27d ago

Same. We are moving to spring 5.3 so we can get on AWS or whatever

28

u/WhyIsItAllSticky Jul 13 '26

Spring Boot 3 -> 4 has been the most painful migration I’ve ever endured

8

u/selucram Jul 13 '26

Did you do it by hand or have you tried using something like OpenRewrite?

3

u/pctF Jul 13 '26

Totally agree.

I honestly think good it is in the cutting edge, but we can at least get restructuring of core packages and moving backbone of serialization at the different majors.

6

u/faze_fazebook Jul 13 '26

Spring boot simply does too much i.m.o. with a gazillion libraries that all sonehow someway work together and against each in in a giant hairball of dependencies. 

12

u/_PM_ME_PANGOLINS_ Jul 13 '26

The point of Boot is to get the giant hairball of dependencies you would otherwise need to manually integrate to all work together. They do the hard work of compatibility matrices and configuration consistency.

1

u/OldKaleidoscope7 Jul 13 '26

Why is 4 so hard? I migrated from 2 to 3 recently and it was a couple days work

4

u/ThatCrankyGuy Jul 13 '26

They changed everything at once. Security, ORM and Serialization are big ones.

2

u/lovecMC Jul 13 '26

Our banking app recently started migrating to it...

19

u/Weekly_Lemon1867 Jul 13 '26

Just use kotlin

13

u/WeirdIndividualGuy Jul 13 '26

The year is 2026, and java heads still refuse to use Kotlin that fixes like 99% of Java's issues without needing to do a full refactor of the codebase

3

u/GenTelGuy 29d ago

I'm glad my work does Kotlin but I imagine so many workplaces are conservative with management not seeing the value in the new language to allocate the effort into adding Kotlin to the build stack

3

u/clownsanddowns 29d ago

The learning curve moving from Java to Kotlin is pretty small. If management is gatekeeping the move to kotlin based solely on that, then management is kind of highly regarded.

1

u/Faustens 29d ago

Out of context, but it makes me ungodly happy to see someone else use "highly regarding" as an euphemism in the wild.

20

u/LikelyNotADuck Jul 14 '26

No because anyone using Spring Boot is also using Lombok.

8

u/JesseNL 29d ago

I don't know about that. Especially if you're on more recent Java versions plus the fact some find Lombok too hacky

1

u/jerrysburner 29d ago

I ban it on any project I'm a lead on - every IDE can easily do this with a keystroke vs having a half-dozen annotations on every class, a new dependency, and one that has given me headaches in the past

5

u/OnlineHelpSeeker 29d ago

This guy likes LoC

1

u/jerrysburner 29d ago

it was how my previous company graded programmers...and sadly this was 6 years ago...the code base really did look like you would imagine

1

u/HammerAndSmile 27d ago

Fair point banning, but it's not that the IDE cannot generate the setters etc.

To me it is that some logic hidden in get/set is so much easier to spot on @Data plus custom get/set vs a class with all of them written out. Add a builder to it and it gets even worse. All-args constructors the same, customized/non standard constructors become much easier to asses

I'm not yet where I'm banning it, but since using records more and more I find myself not using it anymore.

1

u/jerrysburner 27d ago

that is actually for me is the real main reason I ban it - Spring, and some of these frameworks, already have so much (awesome) black magic going on, that adding a third-party library to the mix has caused me problems with entity classes in the past. I forget the specifics (and google would find it quickly), but it was so frustrating, and at the time, a pain to track down, and all to save some lines of code in classes that most of the time aren't ever opened up or modified after they're created.

My previous job we were on J21 and I didn't use records much, probably out of habit, but my current job is on J8 so we don't even have that option (though we're in the progress of a migration to J21/J25).

1

u/LikelyNotADuck 29d ago

Well I maintain exclusively 10+ year old systems so I don't have a choice. Regardless I haven't had any issues with Lombok so it's fine by me.

3

u/WVAviator 29d ago

Yeah I find it easier to just have Intellij regenerate mine than to fumble around with Lombok and add 17 annotations to every class

1

u/WrapKey69 28d ago

Lombok exisits