Skip to content
Quotlr

“Debugging is twice as hard as writing the code…” – Brian Kernighan

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Brian Kernighan

Brian Kernighan Canadian computer scientist

94

Quote by Brian Kernighan, Canadian computer scientist (1942), about funny, inspirational and smart. One of 19 Brian Kernighan quotes on Quotlr.

Share: WhatsApp Facebook Telegram X Pinterest LinkedIn Email

Cite this quote (APA, MLA, Chicago)

APA

Brian Kernighan. (n.d.). Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as… Quotlr.com. Retrieved December 6, 2026, from https://quotlr.com/archive/quote/1017336

MLA

Brian Kernighan. “Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as…” Quotlr.com, https://quotlr.com/archive/quote/1017336. Accessed 6 Dec. 2026.

Chicago

Brian Kernighan. “Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as…” Quotlr.com. Accessed December 6, 2026. https://quotlr.com/archive/quote/1017336.

Advertisement

6 more quotes

More from Brian Kernighan

  • Controlling complexity is the essence of computer programming.
    — Brian Kernighan Open
  • The most effective debugging tool is still careful thought, coupled with judiciously placed print statements.
    — Brian Kernighan Open
  • 90% of the functionality delivered now is better than 100% delivered never.
    — Brian Kernighan Open
  • ... it is a fundamental principle of testing that you must know in advance the answer each test case is supposed to produce. If you don't, you are not testing; you are experimenting.
    — Brian Kernighan Open
  • Believe the terrain, not the map
    — Brian Kernighan Open
  • Don't document bad code - rewrite it.
    — Brian Kernighan Open

All Brian Kernighan quotes