18 ms·
Yoda conditions, like ternary operators[1], are perfectly readable if you have more than a week's experience working with them IMO. Of course, you also turn al
by philwelch 17y ago
Yoda conditions, like ternary operators[1], are perfectly readable if you have more than a week's experience working with them IMO.
Of course, you also turn all the warnings on.
[1] By "ternary operators" I mean "pretty-printed, non-nested ternary operators".