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

Except that NoAnswer has none of the language’s (and it’s library’s) support for the built-in None. And you might run into problems when trying nest the data structure, which might be a reasonable thing for your users to do.


I just think that the nesting offered by Option & Co has overall much more downsides than upsides compared to union types.




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

Search: