develooper Front page | perl.module-authors | Postings from November 2003

Re: Class::FakeAttributes -- Opinions Wanted

Thread Previous | Thread Next
A. Pagaltzis
November 2, 2003 10:07
Re: Class::FakeAttributes -- Opinions Wanted
Message ID:
* Smylers <> [2003-11-02 18:05]:
> A. Pagaltzis writes:
> > This has been invented by Abigail quite a while ago and is
> > called "inside out objects". See
> >
> Thanks for that.  Knowing that Abigail has used this technique
> gives me confidence that it works!

Actually I just noticed it's not even inside out objects. If two
classes in a hierarchy where one is an ancestor of the other both
use ::FakeAttributes, they can *still* trample over each other's
attributes, so you still need to know all your ancestors'
attributes' names (including private attributes).

"If you can't laugh at yourself, you don't take life seriously enough."

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About