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

The same problem exists in PHP, where "", "0" and 0 are all treated as false if you don't check the type. Welcome to the trap of loose typing.


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

Search: