110
votes

What's your favourite quote about programming?

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

0

166 Answers 166

5
votes

Not really about programming, but...

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

5
votes

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

5
votes

Make everything as simple as possible, but not simpler.

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

1
  • I know the question says one quote per answer, but I'm starting to think grouping similar topics (e.g. this with KISS) would be better.
    – Roger Pate
    Oct 29, 2010 at 7:43
5
votes

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

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

5
votes

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

1
  • 1
    Java is getting there. Dec 13, 2010 at 12:20
4
votes

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

2
4
votes

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

Ken Thompson

4
votes

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

1
  • It's unknown who originally put forth this piece of wisdom; I took it from here.
    – Jonik
    Sep 22, 2010 at 17:39
4
votes

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

1
  • Ah, yes, the difference between plans and planning! Excellent!
    – Mark C
    Oct 21, 2010 at 5:49
4
votes

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

In Soviet Russia, exception throws YOU!!

3
  • 1
    I can almost hear the russian accent in my head. Oct 8, 2010 at 15:49
  • 1
    In Soviet Russia, boss give orders YOU!
    – Mark C
    Oct 10, 2010 at 19:53
  • 2
    In Soviet Russia, bug fixes you.
    – Arkaaito
    Oct 14, 2010 at 7:22
4
votes

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"

4
votes

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.

4
votes

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

— Anon

4
votes

Software is hard.

-- Donald Knuth

1
  • Let’s go typesetting! Dec 26, 2010 at 2:09
4
votes

If you fail to plan, you plan to fail

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

2
  • I recently saw this attributed to Alan Lakein, but it is simple enough to have been around for a long time (folk reversals).
    – Mark C
    Nov 12, 2010 at 0:43
  • I heard this all the way through secondary school.
    – TRiG
    Dec 1, 2010 at 19:02
4
votes

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

--William Cowper

1
  • I've heard something similar. "Knowledge is knowing what is right, wisdom is doing what is right". Not sure who said it, I think it's an old Chinese saying that has been translated.
    – Ali
    Dec 9, 2010 at 21:52
4
votes

Well, not my favorite but...

If it is not broken, don't fix it

3
  • also known as "don't ever refactor" Sep 10, 2010 at 14:08
  • 6
    If it needs a refactor, it's broken :-)
    – Maniero
    Sep 11, 2010 at 8:26
  • 2
    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, 2010 at 9:17
3
votes

It works on my machine

1
  • Favorite to hate, of course :-)
    – Maniero
    Sep 9, 2010 at 14:34
3
votes

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

Comment in Sixth Edition Unix.

3
  • I've witnessed that one in the original source code! (I was three at the time...) But I do treasure my copy of the annotated Version 6 Source Code from the University of New South Wales. Sep 22, 2010 at 17:46
  • Is that a general comment or does it appear at a certain point?
    – Mark C
    Sep 28, 2010 at 12:51
  • @Mark: It referred to a specific section of code. I forget what that section was doing.
    – Roger Pate
    Oct 11, 2010 at 16:16
3
votes

Fail Quickly

--Unknown

1
  • The perfect match for "Avoid success!"
    – Mark C
    Oct 22, 2010 at 21:48
3
votes

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

3
votes

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

2
  • 5
    I don't think there's any way to translate the humor to English, but nice quote. Sep 2, 2010 at 10:10
  • It kind of relies on the meaning of "zign". Sep 22, 2010 at 0:13
3
votes

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).

3
votes

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

3
votes

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

3
votes

Profanity is the one language all programmers know best.

-- Anonymous

3
votes

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

1
2
votes

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

1
2
votes
to understand recursion you must first understand recursion
2
  • At first that was just corny, but later it dawned on me that the very sentence teaches recursion.
    – Mark C
    Sep 28, 2010 at 12:54
  • To first understad mutual exclusion you must first forget everything you know about exclusive mutuality, and vice versa.
    – Joe D
    Oct 11, 2010 at 17:06

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