Skip to content
Quotlr

“An effective way to test code is to exercise it…” – Brian Kernighan

An effective way to test code is to exercise it at its natural boundaries
Brian Kernighan

Brian Kernighan Canadian computer scientist

Quote by Brian Kernighan, Canadian computer scientist (1942), about exercise, boundaries and natural. 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.). An effective way to test code is to exercise it at its natural boundaries. Quotlr.com. Retrieved December 2, 2026, from https://quotlr.com/archive/quote/727287

MLA

Brian Kernighan. “An effective way to test code is to exercise it at its natural boundaries.” Quotlr.com, https://quotlr.com/archive/quote/727287. Accessed 2 Dec. 2026.

Chicago

Brian Kernighan. “An effective way to test code is to exercise it at its natural boundaries.” Quotlr.com. Accessed December 2, 2026. https://quotlr.com/archive/quote/727287.

Advertisement

6 more quotes

More from 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 Open
  • 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

All Brian Kernighan quotes