Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What's your favourite quote about programming?

One quote per answer, and please check for duplicates before posting!


locked by Yannis Sep 14 '12 at 17:07

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as not constructive by Walter, ChrisF Feb 7 '11 at 13:10

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

166 Answers 166

Not really about programming, but...

You can't wait for inspiration. You have to go after it with a club.
  — Jack London


There is always one more bug.
  — Lubarsky's Law of Cybernetic Entomology


Make everything as simple as possible, but not simpler.

-- Albert Einstein (for me, via Scott Myers). Emphasis added.


Kurzfristige Hacks tendieren dazu, langfristige Lösungen zu werden.
  — Bodo Tasche

Translated: Current hacks tend to be long-term solutions.


A language that doesn't have everything is actually easier to program in than some that do.
  — Dennis M. Ritchie

Java is getting there. – aaaaaaaaaaaa Dec 13 '10 at 12:20

“ Copy and paste is a design error. ” -- David Parnas


I abhor a system designed for the "user," if that word is a coded pejorative meaning "stupid and unsophisticated."

Ken Thompson


Debugging is like farting — it's not so bad when it's your own code.


Plans are worthless, but planning is everything.
  — Dwight D. Eisenhower


My favourites have already been posted, so here's something I thought of one day at work:

In Soviet Russia, exception throws YOU!!

I can almost hear the russian accent in my head. – Terence Ponce Oct 8 '10 at 15:49
In Soviet Russia, boss give orders YOU! – Mark C Oct 10 '10 at 19:53
In Soviet Russia, bug fixes you. – Arkaaito Oct 14 '10 at 7:22

Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer.
  — Fred Brooks, "No Silver Bullet"


From my first programming class (FORTRAN IV):

What is a computer?
It it a box with a little man in it.
This man is blazing fast. He can do millions of instructions per second.
But he is myopic. He's so myopic that he can see only one instruction at a time.
He's also not very smart, he'll attempt to do exactly what you tell him to do.

This has become the base of my philosophy of programming and debugging.


2 + 2 = 5, for sufficiently large values of 2.

— Anon


Software is hard.

-- Donald Knuth


If you fail to plan, you plan to fail

-My c# Teacher (not sure where he heard it from!)


Knowledge is proud that it knows so much; wisdom is humble that it knows no more.

--William Cowper


Well, not my favorite but...

If it is not broken, don't fix it

If it needs a refactor, it's broken :-) – bigown Sep 11 '10 at 8:26
My colleague has a T-shirt that says: "Engineer's motto: If it ain't broke, take it apart and fix it!" – Kaz Dragon Oct 21 '10 at 9:17

It works on my machine


/* You are not expected to understand this. */

Comment in Sixth Edition Unix.


Let me re-assert that the question of whether there are limitations in principle of what problems man can make machines solve for him as compared to his own ability to solve problems, really is a technical question in recursive function theory.

— John McCarthy


In Hebrew there's a saying (mostly by army conscripted programmers):

באג בדיזיין -> זין בדיבאג

Which is an anagram, and it roughly translates to

Bugs in the design -> you're f^#ked while debugging

I don't think there's any way to translate the humor to English, but nice quote. – EpsilonVector Sep 2 '10 at 10:10

If it wasn't for the last minute, nothing would get done.

—Supposedly from "Murphy's Laws"; see here

Although I can do plenty of things without any pressure (like post answers here), I need a hint of fear to do what I'm supposed to be doing (like my homework).


I don't understand why cheerleaders won't talk to me. Maybe I don't throw five touchdowns against Newport High, but let's see one of those football morons program in assembly language!
  — Chris Lipe


It's OK to figure out murder mysteries, but you shouldn't need to figure out code. You should be able to read it.

-- Steve McConnell


Profanity is the one language all programmers know best.

-- Anonymous


It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Basic professional ethics would instead require him to write a DestroyCity procedure, to which Baghdad could be given as a parameter.

Nathaniel Borenstein


It would seem that perfection is attained not when no more can be added, but when no more can be removed.

Antoine de Saint-Exupery

Dupe of… – Gelatin Sep 11 '10 at 22:49
to understand recursion you must first understand recursion

Not the answer you're looking for? Browse other questions tagged or ask your own question.