Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Coding while drunk

by SpritusMaximus (Sexton)
on Sep 12, 2002 at 17:00 UTC ( #197280=note: print w/ replies, xml ) Need Help??


in reply to Coding while drunk

A few years back, I was working on an inventory system I was writing in C++. I had many an enjoyable night, after 2-3 glasses of Merlot, coding and debugging. As the previous posters said, be sure to test while sober... and also to review your code. It may be hard to explain code fragments like:

$LeafySQL->prepare("select car from inventory..."); $LeafySQL->execute; $Lettuce = $LeafySQL->rows; $BigMac = $Lettuce + $Tomato + $DeadCow; # chomp($BigMac); # Oops, that didn't compile, $BigMac isn't a string... # but maybe in an alternate universe, oh just maybe...


Comment on Re: Coding while drunk
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://197280]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (18)
As of 2014-09-16 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (37 votes), past polls