Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Are prototypes evil?

by tadman (Prior)
on Sep 03, 2002 at 07:11 UTC ( #194696=note: print w/ replies, xml ) Need Help??


in reply to Are prototypes evil?

When I see prototypes, I hear a little voice in my head, like I was James Woods in Videodrome: "Kill them. Kill them all. Kill your prototypes." I even have a script that strips them out. The number of occasions where I've had to use a prototype is less than a few dozen, and even then, it was mostly bad Laziness. Most of the ones I see are pointless, such as prototypes on object methods.

The whole automatic scalar conversion thing really burns me. Or at least cramps my style. They don't even work properly, either, so at best, they're broken, at worst, dangerous.

Now as for lvalue subroutines...


Comment on Re: Are prototypes evil?
Re: Re: Are prototypes evil?
by demerphq (Chancellor) on Sep 03, 2002 at 17:30 UTC
    Hear hear!

    Can I have a copy of the script you mention?

    Yves / DeMerphq
    ---
    Software Engineering is Programming when you can't. -- E. W. Dijkstra (RIP)

      It's just a simple snippet, really. Not 100% effective, but good enough for what I needed.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2014-07-14 06:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (255 votes), past polls