Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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...

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2018-05-22 03:19 GMT
Find Nodes?
    Voting Booth?