News for hackers. Stuff that matters.
Re:Java's records, Lombok's data, and Kotlin's data classes by xenomachina on Friday May 07, 2021 @03:00PM (#27079580)
What annotations are you referring to?
Re:Java's records, Lombok's data, and Kotlin's data classes by AzzieElbab on Friday May 07, 2021 @03:10PM (#27079725)
Lomboks. Seriously, scala case classes are like the very first thing people start using when learning the language. Scala3 enums are even more straightforward
Re:Java's records, Lombok's data, and Kotlin's data classes by xenomachina on Friday May 07, 2021 @04:18PM (#27080407)
The ancestors of your comment mention Kotlin, not Lombok, which is why I asked. Kotlin's data classes are probably the analog to Scala's case classes, and they do not require annotations.
Re:Java's records, Lombok's data, and Kotlin's data classes by scubbo on Friday May 07, 2021 @03:09PM (#27079723)
I'm not the person you were asking, but, presumably, Lombok's annotations.