Ok, so I\'ve read about this a number of times, but I\'m yet to hear a clear, easy to understand (and memorable) way to learn the difference between:
if (x |
Good answers, but let me add that the right-side expressions for || is not evaluated if the left-side expression is true. Keep this in mind for cases where the evaluation terms are a) performance-intensive or b) produce side effects (rare).
||
true