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

A good point. Newer languages influenced by Go, like Vlang[1], have sum types partially for such reasons.

[1]: https://github.com/vlang/v/blob/master/doc/docs.md#sum-types



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

Search: