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

This is more of a question of Affordances than type systems as per se e.g. you can do this quite happily in C# or something it's just that the amount of visual clutter is more than the actual type definition.


I think that's getting better in C# with record types (and primary constructors in general). Real Discriminated Unions should help a lot, and that's finally in Language Preview now.




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

Search: