Coolest Programming Convention Ever!!!
Really don’t know how many of you actually heard of this... This coding convention is really cool: It goes like this: For equivalence statements, keep the constant on the left side. Eg. a == 3; //Not Good 3 == a; //Gr8! How it helps???? It will help you in situations where you "mistakingly" used a "=" inplace of"==". a = 3 compiles to true While, 3 = a generates a compile time error!!! Wow!! Isn’t it!