Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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

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
Node Status?
node history
Node Type: note [id://136991]
help
Chatterbox?
[Discipulus]: yes, some semantic for the searxh must implemented before using such kind of query
[Corion]: Yeah - I have either to come up with a better search query or simply steal the template of some other file download site... I'm thinking of turning the JSON for Strawberry Perl releases into a small website that offers the files for download, with a ...
[Corion]: ... separate page per release, and potentially RSS for the versions

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-02-28 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (398 votes). Check out past polls.