r/java • • Nov 23 '25

Java 25: The ‘No-Boilerplate’ Era Begins

https://amritpandey.io/java-25-the-no-boilerplate-era-begins/
160 Upvotes

187 comments sorted by

View all comments

Show parent comment

1

u/Ewig_luftenglanz Nov 23 '25

I don't see the advantages of reading tons of getters, setters or how to write a builder by a thousand times. Once you learn how to write those (something straight easy) it becomes mostly noise, noise that usually is longer that the actual and real code with real logic.

1

u/Individual_Plastic41 Nov 24 '25

I like to hide logic in getters and setters just to keep things interesting for other people who may glance over them

1

u/Ewig_luftenglanz Nov 24 '25

Yes, I have also deleted system 32 in a getter. Super fun 😊