Monday, November 16, 2009

The Programmer’s Abridged Guide for Investigating Errors

Consider the following sources in order:

  1. You probably screwed up.  This is the most likely cause.
  2. The library author screwed up.  The is less likely than a personal screw up but more likely than subsequent sources of error.
  3. Microsoft screwed up.  This is even less likely than the library author screwing up but more likely than the last source of error.
  4. Intel (or AMD) screwed up.  This is the least likely source of error and is only to be considered when all else fails (or you’ve run out of time and need someone to blame!).

As with any guide, YMMV.  Best taken with a grain or two of salt :)

No comments :

Post a Comment