Re:Data Classes for Java
by bunderbunder on Wednesday November 01, 2017 @10:02PM
(#15607234)
The big difference there would be, in the C# example you've still got to write a bunch more boilerplate for Equals(), GetHashCode() and ToString(). Kotlin's data classes give you those three for free.
[ Parent
| on HN ]
There are no comments on this comment yet.