|
|
|
|
|
by The_rationalist
1874 days ago
|
|
Then you've invented mutability without references/identity. Except those are desired properties for data classes, unlike for value classes which have such semantic difference. Btw Kotlin allow to make immutable Java records too so clear winner. |
|