http://qs1969.pair.com?node_id=391263

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 all-code-and-no-caffeine-make-my-code-warp.org. :)

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 ;)

    --bibo

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 :)


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