4 ms·
the problem with this expression is that it doesn't "short circuit". Both "Thing 1" and "Thing 2" (in this cases object, but the can be function calls) are eval
by _ZeD_ 13y ago
the problem with this expression is that it doesn't "short circuit". Both "Thing 1" and "Thing 2" (in this cases object, but the can be function calls) are evaluated before the "some_boolean" usage.
- TheLoneWolfling 13y agoThat can be an advantage in some cases, however. Not generally, though. In particular, if you want the side effects of both operations. Trying to write multiple things while checking if any of them failed, for instance.