Skip to main content
6 events
when toggle format what by license comment
Oct 30, 2012 at 11:36 comment added Pieter B With short-ciruiting not all conditions get evaluated. In your example all conditions do get evaluated. Evaluation can have side-effects, so it's different logic.
Oct 30, 2012 at 7:49 comment added svick The main advantage of short-circuiting in this case isn't a performance gain, it's that the second condition will throw an exception if the first is false.
S Oct 30, 2012 at 0:28 history suggested Martijn Pieters CC BY-SA 3.0
Improve grammar and spelling.
Oct 30, 2012 at 0:12 review Suggested edits
S Oct 30, 2012 at 0:28
Oct 29, 2012 at 23:16 review First posts
Oct 30, 2012 at 0:12
Oct 29, 2012 at 22:58 history answered YourMom CC BY-SA 3.0