Re:Which one will execute faster, if(flag==0) or if(0==flag)?
by xyzzyz on Saturday January 08, 2011 @05:43AM
(#2082816)
I use them conventionally -- it helps me avoid bugs like 'if(foo = 3)' instead of 'if(foo == 3)'. 'if(3 = foo)' just will not compile. The 'if(6.28 < theta)' is just a logical consequence.
[ Parent
| on HN ]