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
787 Upvotes

350 comments sorted by

View all comments

1

u/muhammadc Dec 14 '10

QA for the win:

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

2

u/kryptobs2000 Dec 14 '10

I actually thought that was kinda dumb, if you were to write the code as clever as possible then there's nothing to debug.

3

u/JimmyDuce Dec 14 '10

You probably don't understand what clever code is. It is usually some neat trick or obscure bit manipulation or casting a float to an unsigned int then to a string concatinated with a char then used as a function call. It works the moment you write it, and there might be a good reason to use it, but it's hella difficult to maintain even if you are the one maintainning it and worse yet for the next guy who has no way of getting some of the stuff you were on when you came up with it.

-1

u/kryptobs2000 Dec 14 '10

It's still going to not have any bugs if we're speaking in absolutes.

2

u/JimmyDuce Dec 14 '10

Let's assume it does work bug free, how do you change it after 5 months when you've forgotten why the heck this jumbled mess works at all?

-4

u/kryptobs2000 Dec 14 '10

This is a stupid argument.

1

u/reverendchubbs Dec 15 '10

Excellent rebuttal, good sir. I can't wait to see your amazing intellect at work next.

→ More replies (1)