We cannot "exit early" from the entire line, because there is more following the && operation.
It may make sense if you realize that
0 && 1 = 0
is the same as:
(0 && 1) = 0
We don't have to check the right side of the && before resolving the parenthetical expression, but that doesn't mean that we shouldn't continue evaluating the rest of the line.
We cannot "exit early" from the entire line, because there is more following the && operation.
It may make sense if you realize that
0 && 1 = 0
is the same as:
(0 && 1) = 0
We don't have to check the right side of the && before resolving the parenthetical expression, but that doesn't mean that we shouldn't continue evaluating the rest of the line.