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