<@U0KGK0BUN>: about you concerns on data classes T...
# random
v
@konsoletyper: about you concerns on data classes The example you provided with the
Order
class fits very nice with data classes, IMO the thing is that I would write it slightly differently:
Copy code
data class Order(val id: String) {
    var delivered: Boolean = false
}
This version is closer to the domain, since one never creates a delivered order anyway. That way all the current features of data classes (except for
toString
maybe) work nicely together to the desired result