Press "Enter" to skip to content

Coding: Six ways to write more comprehensible code

From IBM there’s the Six ways to write more comprehensible code – How to keep your code from destroying you. Usefully it provides examples for:

  1. Comment like a smart person
  2. Use #define a lot. No, a LOT
  3. Don’t use variable names that will mock you
  4. Do error checking. You make errors. Yes, you
  5. “Premature optimization is the root of all evil.” – Donald Knuth
  6. Don’t be too clever by half.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.