3: I've rarely seen "Yoda conditions" [1] in the wild. I think it's because most compilers will output a warning when doing an assignment inside an if statement.
[1] http://www.dodgycoder.net/2011/11/yoda-conditions-pokemon-ex...
[1] http://www.dodgycoder.net/2011/11/yoda-conditions-pokemon-ex...
No comments yet.