[squeak-dev] Re: Instance variable access in superclasses.

Igor Stasenko siguctua at gmail.com
Wed Nov 26 00:57:34 UTC 2008


2008/11/26 Vassili Bykov <smalltalkbigot at gmail.com>:
> On Tue, Nov 25, 2008 at 3:48 PM, Andreas Raab <andreas.raab at gmx.de> wrote:
>> It's neither insane nor is an inlining JIT is a strict necessity. Tweak for
>> example uses property dictionaries throughout and although it's slower than
>> I'd like it to be it's certainly acceptable for most situations. Also,
>> doesn't Newspeak use messages for *all* accessors?
>
> Yes, it does, and it's very nice especially considering that classes
> are mixins, and inst var index base is different in different mixin
> applications.
>

I like the idea of hiding the state/storage specific details from eyes
of subclasses.
It makes irrelevant, in what format or where particular object holds its state.
As long as you providing messages to access it, it could be anything.


> --Vassili
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list