Intelligent Design theory of code


After much deep thought, I've come to the conclusion that I'm not very smart. I'm forced to write good code because I'm not smart enough to write bad code.

Trying to read bad code makes my head hurt to the point where I want to stick a fork in my eye. The 1000 line method bodies...the layers and layers of nested loops and branches...the non-locally declared variables...non-descriptive names... I marvel at the intellectual heft necessary to make it all work. Genius. If only I could be half as smart as those who write this kind of code.

Or have I made a jump in logic somewhere?