Y
Hacker News
new
|
ask
|
show
|
jobs
by
aunderscored
1057 days ago
I tend to dislike this method as it's unclear what or returns unless you already know that or behaves this way. x if x is not None else default is cleaner in my opinion