GC Mouli's Blog

Six ways to write more comprehensible code

Great article over at ibm developerworks. The six points are:
  1. Comment like a smart person
  2. Use #define a lot. No, a LOT.
  3. Dont use variables names that will mock you.
  4. Do error checking. You make errors. Yes, you.
  5. "Premature optimization is the root of all ill". - Donald Knuth
  6. Dont be too clever by half.
I love the point 5, and agree wholly with it. Read the entire article here .