Re:Chris Lattner on the Realm WWDC 2017 Swift Panel
by willtim on Saturday July 01, 2017 @04:05AM
(#14675968)
Trees can be modelled with sum types, the mathematical dual of product types (records). Java doesn't have sum types and so inheritance has to be used to encode them.
[ Parent
| on HN ]
There are no comments on this comment yet.