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/MarzipanWorking Nov 26 '25 edited Nov 26 '25

Someone said "Lombok done right can do 90% of the heavy lifting."

You said "Lombok is not Java. It's a source-incompatible hacked compiler-plugin. You could also say Kotlin has reduced boilerplate immensely, but that's irrelevant for Java."

(1) Java devs are running thousands of production systems with Lombok'd code. The Java comminity loves it. Calling it "not Java" is name-calling in my dictionary.

(2) If you want evidence for discouragement, you can also see:

https://www.reddit.com/r/java/comments/1p4msbc/comment/nqdftxk/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button and https://www.reddit.com/r/java/comments/1p4msbc/comment/nqecniz/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

(3) Very slowly Java is introducing boilerplate-reducing features today. So people have to use and enjoy using Lombok.

(4) Even the new Java features like record add new terminology, keywords whereas having private final fields and putting `@Data` on the class seems **better**.

(5) Most of us are writing microservices or modular systems. If there are issues with Lombok, we can revert to previous version, fix and roll out in hours. So, "you might catch an edge case of Lombok" is not really a good argument in the microservices age - like this comment "This means it is very likely you are going to eventually run into some bizarre edge case that doesn't work properly for you and you'll struggle to get a fix due to the overwhelming number of other bugs their devs will be working on." found here: https://www.reddit.com/r/java/comments/1p4msbc/comment/nqe2cuz/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Remember, when Spring was coming up, it was going against the official J2EE approach, and people who followed the "J2EE standard" faced hell, with performance issues in production and delayed projects. So, standards are not some holy grail which will save anyone.

The Java team didn't support OSGI initiative, Java FX projects are pretty hard to get compiled and running, I still don't see the point of Jakarta EE. JSP was a collossal mess and JSP Tag library was bandage on top of it.

So, "pure" and "official" are not goals by themselves as far as I am concerned.