[squeak-dev] Is prompting to make a pool dictionary useful?

Chris Muller asqueaker at gmail.com
Sun Jan 5 21:45:15 UTC 2014


On Sat, Jan 4, 2014 at 8:31 AM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 02.01.2014, at 11:47, Frank Shearar <frank.shearar at gmail.com> wrote:
>
>> Class >> #sharing: asks a user if they want to automatically create a
>> pool dictionary. Under what conditions would you _not_ want to create
>> the pool dictionary?
>
> In case you misspelled the name. It's really much more common to create the pool first and *then* add it to a class. I've never run into that dialog.

If someone misspelled it they could just change it to what they
wanted, couldn't they?

>> And why does it create a Dictionary, not a SharedPool? (I see that "we
>> do not fileout SharedPool type shared pools for now'", according to
>> Class >> #fileOutPool:onFileStream:.)
>
> They used to be simple dictionaries, and still can be. The code is not really wrong.

Not blowing up at least.  But is there a reason to need both cases as
a Dictionary or a SharedPool or would it be better to decide on one or
the other exclusively?  (in 4.6, that is)


More information about the Squeak-dev mailing list