"Another effective [debugging] technique is to explain your code to someone else. This will often cause you to explain the bug to yourself. Sometimes it takes no more than a few sentences, followed by an embarrassed "Never mind, I see what's wrong. Sorry to bother you." This works remarkably well; you can even use non-programmers as listeners. One university computer center kept a teddy bear near the help desk. Students with mysterious bugs were required to explain them to the bear before they could speak to a human counselor."

Brian Kernighan

14 Quotes by Brian Kernighan

Brian Kernighan has 14 quotes on this site. A few more worth reading:

See all 14 quotes by Brian Kernighan »

More Bear Quotes

This quote is filed under Bear Quotes, one of 2,639 quotes in that category. Here are a few more:

See all 2,639 Bear Quotes »