News for hackers. Stuff that matters.
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.
Re:Java's records, Lombok's data, and Kotlin's data classes by kaba0 on Saturday May 08, 2021 @03:14AM (#27084718)
Values require copying, so depending on the problem it can be worse from a perspective point of view.