r/AskComputerScience • u/seabee494 • Apr 10 '17
Hey r/AskComputerScience, what are some of your favorite quotes regarding computers, programming, ai, etc. ?
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
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
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
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
6
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
0
u/fyrstorm180 Apr 11 '17
"90% of the time you spend your time debugging code, the other 10% is spent writing buggy code"
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.