in reply to Re: InsideOut - even tighter coupling
in thread InsideOut - even tighter coupling
That is actually what I am working on, how tightly can you (or, I guess, can I) couple variables to their accessors / mutators, and still be able to make it usable. I am especially interested in avoiding name collisions on the private variable stash when using inheritance. I think this is going to do the trick.
The problem I ran into was with the DESTROY method. That issue was cleared up by running a registration method on the private variables.
I will try using this in a couple of small things, and see how well it scales for me.
|
|---|