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

Re: Proposed WTF Database

by Anonymous Monk
on Aug 02, 2003 at 07:59 UTC ( [id://280251]=note: print w/replies, xml ) Need Help??


in reply to Proposed WTF Database

The first was an error in the DBD::mysql package that was reporting an error for the wrong statement

You are referring to the error in Unexplained MySQL Error, where you showed some horrible code, didn't want to listen to the advice given to you, and then said that there was an error in the DBI.

If you want to claim a bug in an established module, you must produce a piece of code where the error is repeatbale, but we haven't seen any such evidence.

Instead, you are sweeping your bad coding habits under the carpet and then claiming that it must be somebody else's fault.

A WTF database won't help you. You must learn from your errors. Blaming a module won't make you a better programmer.

Laziness, impatience, and hubris are good for you. But excess of pride will make you go down in flames.

Replies are listed 'Best First'.
Re: Re: Proposed WTF Database
by jbeninger (Monk) on Aug 02, 2003 at 13:29 UTC
    That's the one - not my proudest moment :). Yep - I put up no code in the beginning, asked "why is this statement not working", and expected the PM to help me. Give me a break, I was frustrated all to hell and had had absolutely no progress for a few hours. And bear in mind I didn't claim that the error was in someone else' code until I was absolutely sure it was.

    I didn't follow up (post code where the error is repeatable) because A) Someone had already reported the problem, and B) I had already solved my problem thanks to another poster's solution.

    Would the WTF database have helped me find this? I don't know - the only search terms I had available were "perl" and "database", which I'd expect would produce quite a long list of suggestions. But I'd hope that one of the first things I'd see is "try using trace()", which was the suggestion that ultimately led me to finding the bug.


    PS. If the code is, in fact, as horrible as you say it is, I'd like to know what I can do to improve it (and by association, my whole programming style). Feel free to do it in a private message to avoid crowding this node (unless you want to maintain your Anonymous status, which is fair enough

Log In?
Username:
Password:

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

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

    No recent polls found