Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

What's your favourite quote about programming?

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

share

locked by Yannis Rizos 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.

comments disabled on deleted / locked posts

166 Answers 166

Relationship between length and quality

If you want me to give you a two-hour presentation, I am ready today. If you want only a five-minute speech, it will take me two weeks to prepare.
  — Mark Twain

The shortest version:

If I had more time, I would have written a shorter letter.
  — Marcus T. Cicero

The near-perfectionist's version:

You know that I write slowly. This is chiefly because I am never satisfied until I have said as much as possible in a few words, and writing briefly takes far more time than writing at length.
  — Karl Friedrich Gauss

Several more discuss this concept from various angles.

share
add comment

Crockford is the sole user of the super-strict equality operator (====), which either returns true or kicks you in the balls.

share
add comment

Not really a programming quote, more of an IT one, but one that my A-Level IT teacher drummed into me aged 16:

Typing is no substitute for Thinking

share
3  
Admirably ambiguous. –  Randall Schulz Sep 22 '10 at 17:49
show 1 more comment

A good algorithm is like a sharp knife - it does exactly what it is supposed to do with a minimum amount of applied effort. Using the wrong algorithm to solve a problem is trying to cut a steak with a screwdriver: you may eventually get a digestible result, but you will expend considerable more effort than necessary, and the result is unlikely to be aesthetically pleasing.

share
3  
A mouthful, but good. Like steak! –  webbiedave Oct 12 '10 at 22:01
add comment

Open source is free only if your time costs nothing

Heard it from a guy I worked with. Don't know who came up with this.

share
1  
That's not so true, though. –  Mark C Sep 28 '10 at 12:37
1  
@Mark That's not what I meant... This quote is about the misconception that choosing an open source product over a commercial one is better because you don't have to pay for license (use, not develop). This is stupid, of course, since most of the time whatever you saved in licences you pay in programmer time due to lack of support and/or using products that are not good enough. There are good reasons to use OS. License price, I think, is not one of them. –  Hila Sep 28 '10 at 19:46
1  
My quote file attributes this to JWZ. –  khedron Oct 1 '10 at 21:03
show 9 more comments

Computers are useless. They can only give you answers.
  — Pablo Picasso

share
1  
Considering Picasso died in 1973, I'm highly doubtful that he actually said this.. –  Billy ONeal Jan 27 '11 at 23:20
show 2 more comments

Be nice to nerds. Chances are you'll end up working for one. - Bill Gates

The problem with quick and dirty...is that dirty remains long after quick has been forgotten. - Steve C McConnell

My site SoftwareQuotes.com is full of quotations about programming and software development.

share
1  
I'm pretty sure it wasn't Bill Gates who made that quote –  Terence Ponce Oct 2 '10 at 4:37
show 1 more comment

A normal person believes a kilobyte is 1000 bytes, a coder believes a kilometer is 1024 meters.

-Unknown

share
add comment

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

share
add comment

A few months writing code can save you a few hours in design.

Which is modified from:

A few months in the laboratory can save you a few hours in the library.

share
show 2 more comments

... one of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs.

-- Robert Firth

share
add comment

Why fix an old bug if you can write three new ones in the same time?

— David Kastrup

share
add comment

Quoting Kent Beck:

Make It Work
Make It Right
Make It Fast

share
1  
Pick 2............ –  WalterJ89 Oct 7 '10 at 16:45
2  
Whew! For a minute there I thought you had written "Glenn" Beck... ;-) –  MikeSchinkel Dec 4 '10 at 10:51
add comment

Anyone attempting to produce random numbers by purely arithmetic means is, of course, in a state of sin.
  — John von Neumann

share
add comment

Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
  — Tom Van Vleck

share
5  
It's called code for a reason :) –  Rook Oct 10 '10 at 21:42
show 1 more comment

Those who try to build idiot-proof systems always underestimate the persistence and ingenuity of idiots.

— Anon

share
add comment

One accurate measurement is worth more than a thousand expert opinions.

Admiral Grace Hopper

share
add comment

I am one of those culprits who created the problem. I used to write those programs back in the '60s and '70s, and was so proud of the fact that I was able to squeeze a few elements of space by not having to put '19' before the year.

-- Alan Greenspan, former Federal Reserve chair

share
add comment

How do we convince people that in programming simplicity and clarity—in short: what mathematicians call "elegance"—are not a dispensable luxury, but a crucial matter that decides between success and failure?

Edsger W. Dijkstra

share
show 2 more comments

A beautiful program is like a beautiful theorem: It does the job elegantly. It has a simple and perspicuous structure; people say, “Oh, yes. I see that’s the way to do it.”

-- Butler Lampson

share
add comment

Every time I ask developers why their shiny new C# .NET version isn't nearly as fast and smooth as the old C/C++ version, I'm thinking of:

The most amazing achievement of the computer software industry is its continuing cancellation of the steady and staggering gains made by the computer hardware industry.
  — Henry Petroski

But they just tell me to shut up while they plaster on yet another level of abstraction...

share
show 1 more comment

Programming is one of the most difficult branches of applied mathematics; the poorer mathematicians had better remain pure mathematicians

— Edsger W. Dijkstra

share
13  
@Mark: "You probably know that arrogance, in computer science, is measured in nanodijkstras." — Alan Kay, keynote speech at OOPSLA 1997 –  Roger Pate Oct 22 '10 at 18:40
show 3 more comments

"The complexity you remove can never fail" -- Burt Rutan on the Ansari X Prize

share
show 1 more comment

The art of simplicity is a puzzle of complexity.

Doug Horton

share
add comment

The best code is no code at all

share
1  
I think that's a corruption of the Taligent marketing catchphrase "there is no code faster than no code". –  user4051 Oct 23 '10 at 19:48
show 1 more comment

"It worked on MY computer!" -anon

"Programs must be written for people to read, and only incidentally for machines to execute." - Abelson and Sussman, from "The structure and interpretation of computer programs"

share
show 1 more comment

Programmers are optimists by nature, they also have a keen eye for the downside. A hyperactive imagination for disaster scenarios is a professional asset; they have to think through everything that can go wrong in order to practice their craft.

-- Scott Rosenberg

share
add comment

It's not about programming per se, but by a famous programmer:

The best way to predict the future is to invent it.
  — Alan Kay

Which is usually a good thing to remind myself to get moving and do things.

share
add comment

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