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

TLDR:

* Falsy values (empty string, empty list) should have the same behavior as None. * Don't use `==` for comparison with None or NaN



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

Search: