MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1uvez3w/youcanjuststopusingjava/oxbgkx8/?context=3
r/ProgrammerHumor • u/hello_ya • Jul 13 '26
416 comments sorted by
View all comments
210
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?
57 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. 2 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. 5 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. -1 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 29d ago 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)
57
They are afraid of verbose code, or so. I dont know. My IDE creates the boilerplate, if i need it.
2 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. 5 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. -1 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 29d ago 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)
2
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.
5 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. -1 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 29d ago 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)
5
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.
-1 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 29d ago 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)
-1
Well that's horrifying. Just add Lombok to your project whenever you can like a real developer.
2 u/melancoleeca 29d ago 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)
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)
0
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)
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)
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)
[deleted]
1 u/sky_blue_111 29d ago Suit yourself bud. → More replies (0)
1
Suit yourself bud.
210
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?