What is the collective wisdom here?expr && b(); # Short circuit operator b() if expr; # if clause if ( expr ){ # "traditional" if b(); }
--traveler
In reply to Conditional style (if, &&) query by traveler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |