How's this for you?
Late night programming back at University, I got the project to compile and respond properly to test data.
Success thought I. Since the prof took of points for style of code, I figured I would clean up the code... After cleaning up the code, removing debug print statements, renaming varibles from c1 to innerLoopCounter, and the like, the code compiled.
I turned in the project, took the test, and as I was leaving the TA took me aside and asked why I had turned in a non-working project. I was confused, it worked last night...
Ended up scouring 2.5kloc for wtf I did wrong when I tried to 'clean up' the code. Ended up I had renamed the same var in two different places. *DOH!!!!*
The lesson for the day? -- Don't fix, what ain't broken.
--SparkeyG