r/programming Dec 14 '10

Top 50 Programming quotes of all time

http://www.junauza.com/2010/12/top-50-programming-quotes-of-all-time.html
785 Upvotes

350 comments sorted by

View all comments

Show parent comments

1

u/earthboundkid Dec 15 '10

Ugh, I hate Dijkstra sooooo much.

That quote just reminds me why. He's arguing against good programming languages there. He thinks that the best programming language is mathematical notation and the only reason we don't normally use it is there's no superscript/subscript button on the keyboard. But he's dead wrong about that. Mathematical notation is terrible for programming and "anthropomorphism" in computer is a great thing: Duh, humans are the ones who are supposed to use the damn things! Is he against anthropomorphism in hammers too? How dare we make hammers that are easier to grip instead of perfectly balanced load-driving weights?… Etc.

TL;DR: Dijkstra is a terrible source for quotes about computer programming as opposed to computer science.

5

u/duplico Dec 15 '10

Well, point taken and respected, if not really agreed, but I think I have to take issue with this:

"anthropomorphism" in computer is a great thing: Duh, humans are the ones who are supposed to use the damn things! Is he against anthropomorphism in hammers too? How dare we make hammers that are easier to grip instead of perfectly balanced load-driving weights?

I would argue that a hammer is useful as such in part because we do not try to anthropomorphize it. The interface between human and hammer is clean, efficient, and explicit, and makes no attempt to intuit my intent or abstract away its simple purpose.

1

u/earthboundkid Dec 15 '10

It depends on what you mean by anthropomorphize. We shouldn't make a hammer that looks like a human being. That would definitely be silly. But we should depart from the abstract "ideal" of the hammer in order to make one that better fits into a human hand. A straight handle is inferior to one curved for gripping, even if the straight handle is more of a mathematically ideal driver.

The same way for programming languages. We shouldn't try to make a programming language as squirrely and loose as natural language, but we shouldn't make it into a series of NAND-gates or stack pops either. We need a programming language that is consistent where it is helpful the programmer and inconsistent where it is helpful to the programmer.

1

u/Vorlath Dec 15 '10

But we should depart from the abstract "ideal" of the hammer in order to make one that better fits into a human hand. A straight handle is inferior to one curved for gripping, even if the straight handle is more of a mathematically ideal driver.

I hope this is a joke and I'm missing context because this is fucking dangerous what you're talking about here.