Return to site

🗳️ POLL: Lombok or Java Record or Java Bean with get/set

· java,poll
broken image

Lombok is this community's favorite choice.

Note also:

According to Lew:

It depends. A record has limited use cases and certain default behaviors you might or might not want, and thus might choose a "bean" instead. I can think of no reason to prefer a Lombok approach.

According to Serhii:

Record classes combined with Lombok when it's needed and suitable