Re:Java's records, Lombok's data, and Kotlin's data classes
by razzm256 on Friday May 07, 2021 @01:26PM
(#27078429)
There are many good things enabled by immutability, like safer/easier multithreading, value-like semantics for objects. It is definitely not only of academic value.
[ Parent
| on HN ]
Re:Java's records, Lombok's data, and Kotlin's data classes
by AtNightWeCode on Friday May 07, 2021 @03:59PM
(#27080245)
Typically you use values and not objects for these kind of things so not that much gained.