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

How about not using numbers for Booleans?


CPUs grok numbers. This would be inefficient.


Oh, you can use numbers behind the scenes. Just make sure your type system hides the ugly truth.




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

Search: