Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Coding superstitions

by jwest (Friar)
on Jan 08, 2002 at 03:06 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://136991]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found