3 ms·
I can't think of a case where lazy evaluation would be required, only that the semantics of the && and || operators not change. It's defined as part of the lan
by lygaret 16y ago
I can't think of a case where lazy evaluation would be required, only that the semantics of the && and || operators not change.
It's defined as part of the language that && will not evaluate the right hand side unless the left hand side is truthy. A lot more than using this stuff as branching would break if some implementation arbitrarily decided to not follow that anymore.
- thienan 16y agoThanks