Short circuiting refers to skipping the evaluation of an expression based on some given condition. Two common examples are the operators && and ||. There are three ways the nullsafe operator ?-> could implement short circuiting. We’ll look at the same code snippet for every option.
[ via: @markjaquith ]
I like this idea. I usually don't like things that makes code less easy to understand and favor being more verbose. In this case I think this one actually makes it easier to read and might make it a little easier to avoid making silly mistakes. -Chrispian