Nicolai Parlog personal blog

Java's records, Lombok's data, and Kotlin's data classes

While all three remove boilerplate, the similarities don't go much further. Records have stronger semantics with important downstream benefits, which makes them better*. (* not always; depends on circumstances; excuse the clickbait)
Points
196
HN comments
288
Submissions
1
Cited by
0 commenters

Programming LanguagesSoftware Engineering2021

On Hacker News

SubmittedTitle on HNPointsComments
May 7, 2021Java's records, Lombok's data, and Kotlin's data classes by gher-shyu3i196288

Related posts from the same era