Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2016-10-26 13:23 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (340 votes). Check out past polls.