Y
Hacker News
new
|
ask
|
show
|
jobs
by
pagekalisedown
5185 days ago
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...