Join Slack
Powered by
I think the main reason with not supporting inheri...
# getting-started
r
rocketraman
05/18/2018, 8:57 PM
I think the main reason with not supporting inheritance in data classes is that the semantics of
copy
,
equals
, and
hashCode
become unclear. So rather than adding complexity the designers chose to keep things simple.
Open in Slack
Previous
Next