Y
Hacker News
new
|
ask
|
show
|
jobs
by
willtim
3420 days ago
Most mainstream languages don't even have sum types, but have to encode them via other means (enums, tags, inheritance). They are not necessarily the best choice for modelling data, just
your
preferred choice.