How do you write your code?
View Single Post
06-12-2009, 03:08 PM
Join Date: Sep 2007
Originally Posted by
As we typically read left from right, I like to see the variables and/or constants that are involved in the conditional immediately, instead of seeing the invariable, and then seeing what it's being checked against.
Which is why it takes some time to get used to. The error is more common to me than most people since I program for eight hours a day in a language that takes one equal sign to compare. Then I come home and start coding C, that bug was tripping me up very often, but using that method it can't even compile if I did it.
View Public Profile
Send a private message to Village Idiot
Find More Posts by Village Idiot