Label Cloud

Sunday, July 18, 2004

Coding Drunk

A agree that sometimes an extra degree (or 20) adds certain clarity to the thoughts, and certain uniqueness to the code written. May be I should put this as an idea for the futture. During a week spent in Paris, it was a normal ocasion for the group to go out for an hour or so during lunch to get a steak and finish a bottle of wine (or two). Can't say that it had really hurt the programming efforts (but at the same time, what do those French know....

Steve Hebert and I came up with this “Friday question”:

What's the best piece of code you've written drunk, on medication, etc.?

Best here can be loosely defined as good, humorous, obfuscated, commented, etc.

Mine was written under a Sudafed-induced state. Sometimes my allergies bother me so much I can’t stop sneezing until I’ve taken half-a-dozen of those little red pills. It keeps me up all night too. (My best friend’s wife is a pharmacist, so I know what I’m doing. Don’t try this at home. Side effects include drowsiness, inability to sleep, and intermittent narcolepsy. Keep your hands and legs inside the blog post at all times.) But I digress.

I was in the zone, cranking out the code. I thought I was making all sorts of great progress. Then I went to bed. The next day I woke up and encountered things similar to what these people found. I had to rewrite most of it, but it was an illuminating experience. Now when my allergies act up and the recommended dosage of Sudafed doesn’t work, it’s time to go home.


This Blog Hosted On: http://www.DotNetJunkies.com/ [Darrell Norton's Blog]


Share/Save/Bookmark

No comments: