https://kotlinlang.org logo
#announcements
Title
# announcements
m

mathiasbn

09/02/2016, 8:15 AM
So i'm hacking a Tuesday afternoon and need to encapsulate some data. I don't need to mutate and I don't need equals/hashcode. What do i choose:
class TuesdayData0(val some:String,val data:Int)
data class TuesdayData(val some:String,val data:Int)
value class TuesdayData(val some:String,val data:Int)