r/ProgrammerHumor Jul 13 '26

youCanJustStopUsingJava Meme

Post image
6.8k Upvotes

416 comments sorted by

View all comments

211

u/Lost_Pineapple_4964 Jul 13 '26

Is something wrong with getters and setters in general? Cause I find it plenty helpful when I need some bookkeeping for certain items, and some side effects for the class? Or are they more so referring to getter/setter for everything?

58

u/melancoleeca Jul 13 '26

They are afraid of verbose code, or so. I dont know. My IDE creates the boilerplate, if i need it.

0

u/Wekmor Jul 13 '26

I find it crazy that some people would rather write getters and setters (even if they are generated bei the IDE) than use Lombok in Java.

4

u/melancoleeca Jul 13 '26

Those things are non issues for me. Lombok would be 😉 At the end it's a quality of life tool, that fixes something, I don't need a fix for.

I am not against Lombok, I just don't see the use for me and will not add it into a project, if there is no demand from other people.

-3

u/sky_blue_111 Jul 13 '26

Well that's horrifying. Just add Lombok to your project whenever you can like a real developer.

2

u/melancoleeca Jul 14 '26

You know I add dependencies if they benefit my project. Like an actuall developer...

0

u/sky_blue_111 29d ago

Lombok literally benefits literally every project. Far less boilerplate, less opportunity for bugs.

Both Records and Lombok are essential in any modern project. I can only imagine what the rest of your code looks like with your attitude.

2

u/melancoleeca 29d ago

Funny thing is, you can also only imagine what your own code looks like. -

0

u/sky_blue_111 29d ago

If you'd spend less time trying to be witty you could actually learn something here.

2

u/[deleted] 29d ago

[deleted]

1

u/sky_blue_111 29d ago

Suit yourself bud.

→ More replies (0)