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

I don’t think it’s conflating anything but trying to explain to you the difference between the two concepts. It’s saying that Null for all references types by default is a bad idea, and representing “missing” in a tagged union (sum type, whatever) leads to better code. Your worry about inconsistent type use for the same concept doesn’t really apply when combined with syntactic sugar for optionals.


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

Search: