In addition to the best answer:
rating (x && y) :
if x evaluates to false , y will not evaluate.
estimate (x || y) :
if x evaluates to true , y will not evaluate.
In any case, the first operand is always evaluated. You must be very careful to have side effects in the second operand.
Estefany Velez Nov 30 '11 at 8:30 2011-11-30 08:30
source share