SystemDictionary>>imageImports -> XXX>>imageImports
Stephane Ducasse
ducasse at iam.unibe.ch
Mon May 12 10:39:55 UTC 2003
We should avoid as much as possible global. also
I have to remember ImportImage is an instance of Imports, Smalltalk is
an instance of SystemDictionary....
For Imports I put stuff on the instance side because different
image/environments could want different
imports.
Stef
On Monday, May 12, 2003, at 12:04 PM, goran.krampe at bluefish.se wrote:
> Hi!
>
> Stephane Ducasse <ducasse at iam.unibe.ch> wrote:
>> Hi
>>
>> I would like to remove imageImports from SystemDictionary. Is there
>> any
>> places you think
>> that could be good to move the functionality. I was thinking to create
>> a new class
>> Imports not limited to images.
>>
>> so that we could do
>> Imports default viewImages
>
> Sounds reasonable/readable to me if there is no other obvious place
> somewhere. I have never used these - Ned? Anyone else?
>
> Have anyone any good ideas about when to use a Global (like Transcript)
> with instance behaviour or when to use a class with class side
> behaviours? I presume that whenever there is an even remotely chance
> that there might be more than *one* of these things we should use the
> Global pattern instead. Right? Or at least a singleton pattern like
> "SMSqueakMap default". So in this respect perhaps Imports should be a
> global pointing to an instance of ... well, I can't come up with a good
> name. Anyone?
>
>> Stef
>
> regards, Göran
>
More information about the Squeak-dev
mailing list
|