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

I'm only aware of php and javascript equating 0 to false. But at any rate in this case it's not equating 0 to false, it's comparing non-zero to zero and returning true. (as it should)


In C, 0 evaluates to false.




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

Search: