Do Boolean functions "fail fast"?
Will @and(expression_1, expression_2, expression_3) return a false result when the first expression (from left to right) evaluates as false, or are all expressions evaluated before a result is returned?
Similarly will @or(expression_1, expression_2, expression_3) return a true result when the first expression (from left to right) evaluates as true, or are all expressions evaluated before a result is returned?
For @if(expression_1, expression_2, expression_3), are both expression_2 and expression_3 always evaluated, or is only the expression that corresponds to the results of expression_1 evaluated?
Also, is there any difference or preference to using @and(A, B) over A && B, or @or(A, B) over A || B ?
***Updated by moderator: Lochan to update Categories***