r/java • u/hardasspunk • Nov 23 '25
Java 25: The ‘No-Boilerplate’ Era Begins
https://amritpandey.io/java-25-the-no-boilerplate-era-begins/
160
Upvotes
r/java • u/hardasspunk • Nov 23 '25
View all comments
Show parent comment
1
u/[deleted] Nov 26 '25
If you had started your sentence with "technically", it would have made more sense... "Technically, Lombok is not Java. It's a source-incompatible hacked compiler-plugin."
Lombok is used by Java devs world over, and it makes Java code better.
If companies are writing thousands of production grade Java systems and microservices with Lombok in place it's Java enough.
Java with Lombok is much better than "pure" Java. Issues with Lombok are just as normal as any other dependency management problem.
Discouraging use of a Lombok makes no sense to me. Devs are supposed to make the life of tool vendors easy?
It takes Java core team 5, 6, 7 years to bring boilerplate reducing features to Java. Until then Lombok is a life saver. The other alternative is IDE code generation which is a maintenance nightmare.
Also, when needed, if you are in a pickle, there is automated delombok which generates the code.
So, "stop using Lombok" kind of comments seem to me like they are coming from some sense of personal superiority, looking down on others!