Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
detaro
on July 21, 2019
|
parent
|
context
|
favorite
| on:
Skills Poor Programmers Lack
JS: undefined && undefined -> undefined
Python: None and None -> None
Izkata
on July 22, 2019
[–]
On top of that, truthy values also propagate, so if isDelivered or isNotified are something else that's truthy (such as a 1 from mysql), isDone will not be True either and risk failing in more interesting ways down the line.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Python: None and None -> None