- When you design something, remember that you'll need to debug it. If you can modularize it, that will help you to predictably repro, isolate, and diagnose problems.
- Design in a way to "export" information you'll want when debugging.
- Trust measurement and observation further than guesses.
- If you write a bug report that just says "it's broken," you're not helping. (If you chase a problem only to figure out that it's in a part of the system you don't understand, not all is lost: a skilled debugger can write a good bug report.)
- When you ask for help, "Report symptoms, not theories. The reason you went to someone else for fresh insight is that your theories aren't getting you anywhere."
- An ounce of patience is worth a pound of brains
Tags: book programming
blog comments powered by Disqus