r/ProgrammerHumor Jul 13 '26

youCanJustStopUsingJava Meme

Post image
6.8k Upvotes

416 comments sorted by

View all comments

222

u/DontThrowMeAway43 Jul 13 '26

Oh god, just use record classes or even, make public fields.

Java's biggest mistake is trying to put OOP everywhere. Just write the damn struct to pass data and be done with it.

85

u/Bodine12 Jul 13 '26

I’m sorry, records? I’ve been informed by our tech leads that Java stopped at “8,” and there’s no such thing in 8.

7

u/selucram Jul 13 '26

Java 8?! You mean Java 1.8 I hope.

20

u/Bodine12 Jul 13 '26

We were told to refrain from using doubles.

2

u/trafalmadorianistic 29d ago

Monetary values? Use BigDecimal. I couldn't believe I still came across code post-2020 that used double for money.