Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Discriminated unions are a terrible way to enforce type safety. They are a backport of a physical-data-modelling antipattern. Inheritance or GTFO.


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

Search: