Once I was on vacation at an island resort in the middle of nowhere. I wasn't even thinking about programming, but an idea for a chunk of code popped into my mind. I had to write it down for later testing, so I found a piece of light-colored driftwood and a twig with a burnt end (from a fire pit on the beach). I wrote code on the driftwood and carried it back to my room to later transcribe onto notebook paper. It wasn't until a couple weeks later that I actually put the code into a computer.
code('Perl') || die;