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

But all of them evaluate to true except for zero, thus one code for success, many for failure


That's idiomatic, not an inherent property of the numbers themselves. You're basically arguing that because we do it in one context we do it in another context, but it doesn't answer the question of why.




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

Search: