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

Re: Generally accepted style in Perl objects

by coreolyn (Parson)
on Dec 28, 2000 at 22:53 UTC ( [id://48727]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Generally accepted style in Perl objects

Well you're seriously wasting overhead programming in OO if you directly access the vars. As Damian Conway say's

Thou shalt not access thy encapsulated data directly lest thou screwe it up.1

By allowing yourself to take advantage of the casual nature of perl OO, you open yourself up to the problems that OO design seeks to avoid

coreolyn


1Object Oriented Perl pg. 82
  • Comment on Re: Generally accepted style in Perl objects

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://48727]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.