Quantcast
Channel: paluch.biz - Blog
Viewing all articles
Browse latest Browse all 10

Data Classes Considered Harmful

$
0
0

This blog post explains the motivation behind removing Project Lombok from one of the projects to which I contribute. It reflects my personal opinion and is not discouraging particular technologies.

About three years ago, I got to know Project Lombok, a library that spices up Java code. I liked it from the beginning as it contributes so much useful functionality. I work a lot with entities (data classes) and value objects, so it does not come as a surprise that @Data or Kotlins data class are very convenient. You get more bang for the buck – literally.
I’m mentioning Kotlin here because it shares some of the properties that we also get from Lombok.


Viewing all articles
Browse latest Browse all 10

Trending Articles