5 ms·
There's real value in the fact that ternary operators form expressions, which if statements don't.
by Kerrick 9y ago
There's real value in the fact that ternary operators form expressions, which if statements don't.
- z3t4 9y agoCould you elaborate ? I think the only difference is readability, where I favor if-statements over expressions.