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

1 vs 0 is another typo of Boolean values with opposite meanings, in quite a few languages.


Worse, the ability to typo 9 in some languages for 0 and flip your boolean when it should be a type error just seems like a misdesign.


Lets hear it for true/false, and triply enforced booleans (variables represented by three or more memory locations https://en.wikipedia.org/wiki/Triple_modular_redundancy) !




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

Search: