When I was newfag in Kotlin - I used data annotati...
# announcements
y
When I was newfag in Kotlin - I used data annotation every were (where I can) 😳 Right now I think data classes it’s “struct (C#) for poor” (in one use-case). It’s can be used for classes like Point, Vector, Rect, Size etc. Also for DTO and like replacement for tuples (Pair/Triple) https://kotlinlang.org/docs/reference/data-classes.html#standard-data-classes