Y
Hacker News
new
|
ask
|
show
|
jobs
by
tmiahm
1789 days ago
The difference is your example uses bool values, the code in question uses expressions that (should) evaluate to bool. && is short-circuited if a is false, such that b is not evaluated.