menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Databases

>

Lombok Is ...
source image

Medium

1w

read

4

img
dot

Image Credit: Medium

Lombok Is a Crutch — You’re Writing Java Wrong

  • Lombok might be doing more harm than good by encouraging developers to ignore good design and lean on shortcuts.
  • Java's verbosity is one of the main reasons for Lombok's popularity, as it reduces the ceremony of writing boilerplate code with annotations.
  • However, Lombok does not address the root problem of writing excessive boilerplate-heavy classes in the first place.
  • Lombok's @Data annotation, often used without much thought, can lead to the exposure of mutable internal state and violation of object-oriented principles.

Read Full Article

like

Like

For uninterrupted reading, download the app