“Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?”

" The Elements of Programming Style https://en.wikipedia.org/wiki/The_Elements_of_Programming_Style", 2nd edition, chapter 2.

Adopted from Wikiquote. Last update June 3, 2021. History

Help us to complete the source, original and additional information

Do you have more details about the quote "Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you c…" by Brian W. Kernighan?
Brian W. Kernighan photo
Brian W. Kernighan 6
Canadian computer scientist 1942

Related quotes

Nicholas Negroponte photo

“When you write a computer program you've got to not just list things out and sort of take an algorithm and translate it into a set of instructions. But when there's a bug — and all programs have bugs — you've got to debug it. You've got to go in, change it, and then re-execute … and you iterate. And that iteration is really a very, very good approximation of learning.”

Nicholas Negroponte (1943) American computer scientist

Nicholas Negroponte: A 30-year history of the future http://www.ted.com/talks/nicholas_negroponte_a_30_year_history_of_the_future, July 2014, TED Talks (about 13:40 into 19:43 video).
A 30-year history of the future, TED Talk (2014)

Anton Chekhov photo

“Everyone judges plays as if they were very easy to write. They don’t know that it is hard to write a good play, and twice as hard and tortuous to write a bad one.”

Anton Chekhov (1860–1904) Russian dramatist, author and physician

Letter to A.S. Suvorin (May 4, 1889)
Letters

Fred Brooks photo
Martin Fowler photo
Gene Wolfe photo
Ward Cunningham photo
Brian W. Kernighan photo

“The most effective debugging tool is still careful thought, coupled with judiciously placed print statements.”

Brian W. Kernighan (1942) Canadian computer scientist

"Unix for Beginners" (1979).

Ernest Hemingway photo

“The hardest thing to do is to write straight honest prose on human beings. First you have to know the subject; then you have to know how to write.”

Ernest Hemingway (1899–1961) American author and journalist

A Letter from Cuba (1934)
Context: The hardest thing to do is to write straight honest prose on human beings. First you have to know the subject; then you have to know how to write. Both take a lifetime to learn, and anybody is cheating who takes politics as a way out. All the outs are too easy, and the thing itself is too hard to do.

Related topics