develooper Front page | perl.perl6.language | Postings from June 2001

Re: Multiple classifications of an object

From:
Dan Sugalski
Date:
June 27, 2001 11:50
Subject:
Re: Multiple classifications of an object
Message ID:
5.1.0.14.0.20010627144718.0206ba78@24.8.96.48
At 11:45 AM 6/27/2001 -0700, Mark Koopman wrote:


>>* Objects are bigger since they all need an .ISA property, if we toss the 
>>per-class @ISA
>
>
>with an accessible .ISA property, are previous instaniated objects
>'brought-up-to-speed' with this new behaviour or not?

Depends on what you mean by that. Since I have no clue, I couldn't say. :)

If you mean would updating one object's .ISA property update them all, I'd 
rather we not do that. If you mean do we update all the object's .ISA 
properties when we change the class' default ISA, I'd rather not do that if 
we're instantiating ISA on a per-object basis.

Basically my preference, if we're going with a per-object .ISA with no 
class ISA fallback, is for each object to be independent and not affect any 
other object when its properties are messed with.

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About