Re:New Programming Jargon
by BrandonM on Sunday May 09, 2010 @07:33PM
(#1333051)
Shouldn't best practice be to compile with something like "gcc -Wall" instead of making the code less readable?
[ Parent
| on HN ]
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".