Hacker News new | past | comments | ask | show | jobs | submit login

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: