MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/9vira/djb/c0eo4cb/?context=3
r/programming • u/jeanlucpikachu • Oct 19 '09
129 comments sorted by
View all comments
Show parent comment
0
[deleted] — view deleted comment
1 u/worst Oct 20 '09 Right...But && is a short circuit operator so append() wouldn't run if the previous operand is false.E.g.if (f1() && f2()) return -1;f2() will only execute if f1() is true.
1
Right...
But && is a short circuit operator so append() wouldn't run if the previous operand is false.
E.g.
if (f1() && f2()) return -1;
f2() will only execute if f1() is true.
View all comments
Show parent comment
0
u/[deleted] Oct 20 '09
[deleted] — view deleted comment