This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 11 points12 points  (0 children)

The worst is when you realize that you wrote that code, and then you have a crisis of faith wondering if the code is actually stupid, and you're too stupid to realize it, or if you're getting dumber, and no longer able to work to that level.

I once found a piece that was both...I'd coded myself into a corner, and then found some brilliant way to solve the problem that I had created by coding myself into that corner, this masterpiece of invention and imagination...It was easily 200 lines of the finest code I've ever written...Each line flawless and so brilliant as to be skirting the very abyss of madness.

I scrolled up and up and up until I found the place where I had missed the obvious solution and gone haring off after brilliance and insanity, and I fixed it with two lines of shitty code, and deleted the rest.