Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverl... — Brian W. Kernighan
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.
Author: Brian W. Kernighan
Insight: The smartest move isn't always the cleverest one—sometimes it's choosing the boring solution your future self can actually fix. When you're stuck on a problem at work or life, that fancy workaround will haunt you later. Keep it simple enough that tired-you can still understand it.
Source: The Elements of Programming Style, p. 118, 1974