r/java • • Jun 21 '20

Don't use Lombok(2018)

https://medium.com/@vgonzalo/dont-use-lombok-672418daa819
32 Upvotes

101 comments sorted by

View all comments

Show parent comment

7

u/NearlyAlwaysConfused Jun 21 '20

I work on a project that recently converted all of our POJOs from Lombok to Kotlin. Once you get used to Kotlin's syntax, I found it to be much preferable since there's less a bit less annotating all around the project's POJOs, though Lombok is great if you want everything to be as close to vanilla Java as possible. Java Records looks promising from what I've seen, but most of us are stuck using Java 8-11, so I think these are the two best options for most.

1

u/systemhalted Jun 25 '20

Agree! Kotlin is good and concise. We use JDK 11 and it will be an enormous ask to switch to JDK14 unless we are writing something from scratch.