I learned .. who was it, Knuth who said, “Never write code as clever as you can, because debugging is harder than coding, so …”
As many others, I received a full scholarship in my degree on that from the University of Hard Knocks, the School of Blood, Sweat, and Tears; later on, I shared this wisdom to my now-ex who started her career after me, she thought it was ridiculous to ever not be your cleverest.
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.
Since nobody else seems to have picked up on it, I'm impressed with the joke.
For those who didn't pick up on it and are clueless, kernigan is half of kernigan and Richie - of the people who invented C and Unix, and wrote the Bible on the subject.
3.1k
u/TerriblyCoded Sep 23 '22
Past me: “Hahaha! I’M A GENIUS!”
Present me: “OH NO!”