Tips from The Practice of Programming by Kerninghan and Pike

  • Look for familiar pattern
  • Examine the most recent changes
  • Don’t make the same mistake twice
  • Debug it now, not later
  • Get a stack trace
  • Read before typing
  • Explain your code to someone else
  • Make the bug reproducible
  • Divide and conquer
  • Study the numerology of failures
  • Display output to localize your search
  • Write self-checking code
  • Write a log file
  • Draw a picture
  • Use tools
  • Keep records

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Thru Lens


View Karthikeyan S's profile on LinkedIn
Alltop, confirmation that we kick ass

%d bloggers like this: