How to perform short-circuit calculations.