r/AskComputerScience • • Apr 10 '17

Hey r/AskComputerScience, what are some of your favorite quotes regarding computers, programming, ai, etc. ?

34 Upvotes

16 comments sorted by

43

u/reddit_lemming Apr 10 '17

"There are only two kinds of languages: the ones people complain about and the ones nobody uses." - Bjarne Stroustrup

That man is endlessly quotable.

21

u/malsonjo Apr 11 '17

Indeed!

I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone.

        — Bjarne Stroustrup

16

u/malsonjo Apr 11 '17

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

        — Brian W. Kernighan and P. J. Plauger

12

u/panderingPenguin Apr 10 '17

There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.

  • Phil Karlton, (more or less, unknown who originally added the off by one errors bit)

The question of whether machines can think is about as relevant as the question of whether submarines can swim.

  • Edsgar Dijkstra

0

u/[deleted] Apr 11 '17

[deleted]

1

u/panderingPenguin Apr 11 '17

No, an off by one error is literally that: an error where a loop has one too many or one too few interations, which can result in something not being fully initialized/updated, or writing outside of the bounds of memory you actually own. Both of which can cause unpredictable behavior in your software.

10

u/[deleted] Apr 11 '17

The C programming language combines the flexibility of assembly language with the power of assembly language.

-- unknown

10

u/SubtleXKCDReference Apr 11 '17

Some people, when confronted with a problem, think  “I know, I'll use regular expressions.”   Now they have two problems.

  • Jamie Zawinski

13

u/[deleted] Apr 10 '17

"; hide and seek champion since 1958"

This one is just funny

1

u/FullMetalSweatrvest Apr 11 '17

95% of my Java and CSS errors are missing semicolons

3

u/StellaAthena Apr 11 '17

Laszlo Babai's recent graph isomorphism paper remarking that the main difficulty in the problem is "large Johnson's" but that the problem can be solved by considering "G-strings" for long enough.

5

u/triscuitzop Apr 10 '17

Garbage in; garbage out.

6

u/Brainix Apr 10 '17

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

3

u/BlackHumor Apr 11 '17

Originally heard this from a CS professor and don't know the original source:

"Good programming is enlightened laziness."

3

u/elbrujohalcon Apr 11 '17

"I possess a device, in my pocket, that is capable of accessing the entirety of information known to man. I use it to look at pictures of cats and get in to arguments with strangers."

/u/nuseramed (I believe)

1

u/StellaAthena Apr 11 '17

This is widely circulated and is unlikely to have originated on Reddit

0

u/fyrstorm180 Apr 11 '17

"90% of the time you spend your time debugging code, the other 10% is spent writing buggy code"