Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: OOP's setter/getter method - is there a way to avoid them? ( what should be an object and what should it do)

by tiny_monk (Sexton)
on Oct 27, 2015 at 10:27 UTC ( [id://1146090]=note: print w/replies, xml ) Need Help??


in reply to Re: OOP's setter/getter method - is there a way to avoid them? ( what should be an object and what should it do)
in thread OOP's setter/getter method - is there a way to avoid them?

Thank you for generously suggesting different resources. And, yes, you have valid points and questions. They are all worth considering. I'm still learning that it takes a special way of looking at things when using an object-oriented style of programming. I'm afraid that my concept of class object has not fully evolved yet. It's hard to transition from the mundane concept of an object as a mere instance of a class to the concept that objects (even supposedly inanimate objects such as apple) could actually behave like living objects that bring forth methods or actions (i.e. saying "I am a red apple"). :)

  • Comment on Re^2: OOP's setter/getter method - is there a way to avoid them? ( what should be an object and what should it do)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-16 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found