Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
P is for Practical
 
PerlMonks  

Re: Coding superstitions

by jwest (Friar)
on Jan 08, 2002 at 03:06 UTC ( #136991=note: print w/ replies, xml ) Need Help??


in reply to Coding superstitions

The only superstitious thing that I've noticed in my own code is my apparent inability to, while using DBI, just do something. I always prepare and execute instead.

"What are you preparing? You're always preparing! Just go!" --DH

--jwest

-><- -><- -><- -><- -><-
All things are Perfect
    To every last Flaw
    And bound in accord
         With Eris's Law
 - HBT; The Book of Advice, 1:7


Comment on Re: Coding superstitions
DBI Coding superstitions
by andye (Curate) on Jan 08, 2002 at 20:48 UTC
    Me too. I do prepare, bind, execute, fetch when I could do all this in one call.

    Mostly habit, though my rationale is that if something goes wrong, I'll at least know which stage it failed at. (OTOH, the error almost always occurs in the execute stage anyway, so I'm not sure why I bother).

    andy.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2014-04-16 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (436 votes), past polls