Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: The Accessor Heresy

by gaal (Parson)
on Nov 28, 2005 at 17:33 UTC ( [id://512295]=note: print w/replies, xml ) Need Help??


in reply to The Accessor Heresy

One of the huge practical motivations for using accessors in Perl 5 was not encapsulation at all, but reducing typo bugs on field names. Since the mainstream method for fields is still straight hash elements, those can happen a lot.

If you use fields or employ another technique (I see you're familiar with some of those), that motivation goes away.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2024-04-23 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found