Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: To USE or not to USE

by chaoticset (Chaplain)
on Jul 29, 2003 at 14:57 UTC ( #278851=note: print w/ replies, xml ) Need Help??


in reply to To USE or not to USE



I can actually remember thinking almost exactly the same thing.

I have never seen it be true in my work yet. Two large, obvious reasons for this are I can't write significantly more efficient code and mine will typically be inferior in implementation anyway.

Plenty of modules use tricks like autoloading to reduce overhead, because their author is smart enough to do that, and I'm not. I'm really, really not. (I'm not requesting an autoloader tutorial, either -- I know what it is, and have read how to use it, but it never occurs to me to use it, because I'm inexperienced. The module author usually isn't.)

Besides that, my version will probably suck, in short.

These two things coupled with the graceful ease of typing "use Foo;" make including the module and thinking well of the author the right choice most of the time. It's always the easy choice.

-----------------------
You are what you think.


Comment on Re: To USE or not to USE

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2014-09-19 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (144 votes), past polls