Comment Comment by noelwelsh Exactly. I don't understand why people think the ternary operator is needed when you can just make `if` an expression instead of a statement. Then there is no new syntax to learn and `if` just becomes more useful. parent noelwelsh 4 months ago