I recently had an all-night coding session, and found in the morning that I had no clue what I'd written or how/why it worked the way it did. I was depressed, but inspired.
Code made sans caffeine,
obfuscation by mistake.
Good luck debugging!
$me = rand($hacker{perl});

Replies are listed 'Best First'.
Re: Accidental Obfuscation
by sintadil (Pilgrim) on Sep 15, 2004 at 19:15 UTC

    When I can control it, I use an IRC spoof of :)

Re: Accidental Obfuscation
by bibo (Pilgrim) on Sep 16, 2004 at 14:44 UTC
    When i was writing X11 code on Suns, we called that 'write-only-code'. It made sense just then, when you had sucked up everything you needed to write it. Next day, the inevitable slippage occurs, you forget stuff, and the code makes no sense at all.

    But does the code work? and can you maintain it ;)


Re: Accidental Obfuscation
by opqdonut (Acolyte) on Sep 28, 2004 at 17:39 UTC

    Beautiful! i've had the same happen when i wrote a graphics engine in assembly in one night. The next day I couldn't understand it, so i recoded :)

Re: Accidental Obfuscation
by Limbic~Region (Chancellor) on Mar 04, 2009 at 18:57 UTC