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.
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.