I have never laughed so much while reading programming related stuff.
Yoda Conditions
Using
if(constant == variable)
instead ofif(variable == constant)
, likeif(4 == foo)
. Because it’s like saying “if blue is the sky” or “if tall is the man”.
I have never laughed so much while reading programming related stuff.
Yoda Conditions
Using
if(constant == variable)
instead ofif(variable == constant)
, likeif(4 == foo)
. Because it’s like saying “if blue is the sky” or “if tall is the man”.