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

Re: The Bad, the Ugly, and the Good of autovivification

by hardburn (Abbot)
on Apr 08, 2005 at 13:17 UTC ( #446010=note: print w/ replies, xml ) Need Help??


in reply to The Bad, the Ugly, and the Good of autovivification

When autovivification is mentioned at all, it is to rave about its (undeniable) virtues, i.e. the Good. It's as if we are so eager to encourage the tremulous newbie to try riding the bicycle without the training wheels, that we don't want to dampen any enthusiasm with talk of potholes, and semis.

My experiance is just the opposite. The first time I see most new Perl programmers run into it is when it causes some bug, which causes some (understandable) complaints about the feature.

I do wish exists was special cased to not autoviv a deep element when a shallow element doesn't exist.

"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.


Comment on Re: The Bad, the Ugly, and the Good of autovivification
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-10-26 01:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls