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

Re: The Accessor Heresy

by brian_d_foy (Abbot)
on Nov 28, 2005 at 19:54 UTC ( [id://512350]=note: print w/replies, xml ) Need Help??


in reply to The Accessor Heresy

Sometimes it bothers me that objects are fancy structs and at those times I think every property should change indirectly as the result of some action. The properties change because the object does something, not because we simply change the properties. At those times I also think that objects should be little black boxes where we don't know what properties it has, although we can send it messages and get responses.

But then, I get over it pretty quickly because I don't care that much. It's a nice thing to think about as I design interfaces, but I'm not going to lose sleep over it if I can't make it happen. :)

--
brian d foy <brian@stonehenge.com>
Subscribe to The Perl Review

Log In?
Username:
Password:

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

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

    No recent polls found