The ternary operator is not (just) a shorthand of statement. It’s not a statement: it’s an expression. But I agree they’re really hard to read and I too avoid them.
I liked this. Seemed like a solid, well-scoped how-to essay, using a toy problem to illustrate deeper language features. Nicely done!