I came about a nice article about how to write more comprehensible code. This does mean more faster or bug-free code, but instead more inteligible and more important more maintanable.
Short version:
- Comment like a smart person.
- Use #define a lot. No, a LOT.
- Don’t use variable names that will mock you.
- Do error checking. You make errors. Yes, you.
- “Premature optimization is the root of all evil.” – Donald Knuth.
- Don’t be too clever by half.



Entries (RSS)