Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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?
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2015-11-27 00:51 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (710 votes), past polls