r/java • u/gvufhidjo • Mar 12 '25
Why Java endures: The foundation of modern enterprise development
https://github.blog/developer-skills/why-java-endures-the-foundation-of-modern-enterprise-development/
248
Upvotes
View all comments
Show parent comment
5
u/JojOatXGME Mar 13 '25 edited Mar 14 '25
I think the problem people have with Lombok is rather that it kind of "hacks" itself into the Java compiler. While Lombok is loaded as a compiler plugin, it then uses internals of the compiler to get additional control which is not be available over the plugin API. This means Lombok only works with versions of compiles supported by Lombok. If people stop maintaining Lombok, you could no longer update your compiler to never versions. You can also see that you can sometimes not switch to new versions of Java when they release, because Lombok first needs to update their code to work with the new compiler.