I’m just wondering what the general consensus is on Yoda Programming? Is it something that you’re into? Have you converted your projects to it?
What is Yoda Programming?
Using if(constant == variable)
instead of if(variable == constant)
, like if(4 == foo)
. Because it’s like saying “if blue is the sky” or “if tall is the man”.