Y
Hacker News
new
|
ask
|
show
|
jobs
by
_whiteCaps_
376 days ago
https://en.wikipedia.org/wiki/Yoda_conditions
Works especially well in languages that can make assignments in if statements, e.g:
if foo = 42 { }
1 comments
macintux
376 days ago
Thank you, I was unaware of this label. Quite descriptive.
link