[squeak-dev] Re: SmalltalkImage current vs. Smalltalk

Michael Haupt mhaupt at gmail.com
Tue Mar 2 13:37:19 UTC 2010


Hi Igor,

On Tue, Mar 2, 2010 at 1:18 PM, Igor Stasenko <siguctua at gmail.com> wrote:
>> Apart from that, Object is already rather cluttered.
>>
> then how about:
>
> thisContext environment "system globals" ...

eh, in my opinion, that's even more awkward. Why should these things
be associated with a Context? Of all *classes*, Object would be the
appropriate place for such things, but see above. :-)

>> Some questions:
>> How appropriate would such a model be in Smalltalk?
>> Is there a scenario where "the image" would not be global state? (Hydra?)
>
> It is. When you building things from scratch, using different object model,
> experimenting etc it is important to keep your code and objects
> isolated from usual object graph.

Yes, I figured this would make sense.

Best,

Michael



More information about the Squeak-dev mailing list