What is Lombok? Every developer knows that every time you're going to develop something, there is a lot of code to be written because Java, in some cases, is too verbose. As a developer, you and I know that any technology which helps us write less bu...

Markdown supported · ⌘↵ to post
Shai Almog
Yak Barber, duck whisperer, hunter of bugs, feeder of dogs, heap climber, stack explorer and rider of shells
Nicely written. I like Lombok and use it a lot but I'd like to point out a couple of things:
Newer versions of Java have records and var keyword built in. That's probably the better approach long term. If you target the current LTS (Java 17) then you should be pretty good and Lombok isn't as helpful.
Some people claim Lombok causes problems. I've never run into it but I think these stem from the fact that Lombok generates hashcode and equals methods by default for some annotations. These can conflict with entity tags in JPA.