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

I disagree. Knowing if something could be nil is a very different thing than something unexpectedly becoming nil. If you have values that are guaranteed by the compiler to never be nil, that removes the burden completely.


> that removes the burden completely.

In practice this gives you improperly constructed objects with bad state, returned from code some random person wrote in a hurry. Yes, it is bad code but so is most code in existence you have to interface with.




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

Search: