Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by hardburn (Abbot)
on Apr 08, 2005 at 13:17 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-24 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found