Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
willtim
· 9y ago · 0 comments
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.
Comments
No comments yet.
Better HN