[ANN] v2 Package loading/unloading - fully functional

Bert Freudenberg bert at impara.de
Fri Mar 18 14:55:18 UTC 2005


Am 18.03.2005 um 15:19 schrieb Bert Freudenberg:

>
> Am 18.03.2005 um 14:30 schrieb Avi Bryant:
>
>> On Fri, 18 Mar 2005 14:26:01 +0100, Bert Freudenberg <bert at impara.de> 
>> wrote:
>>
>>> Please, before it's too late, can we just use Strings in a
>>> PackageInfo's preamble/post scripts? Currently they are 
>>> StringHolders,
>>> which is a Bad Idea.
>>>
>>> I was bitten by this because I tried out the script button in
>>> Monticello, and even though I closed the editor without accepting the
>>> postscript was stored, saved with a package, so everyone else got a
>>> walkback when trying to load that package in an older MC version. 
>>> Sure,
>>> we could fix this while still retaining the StringHolders in there, 
>>> but
>>> why? I'd prefer a clear separation of data and interface.
>>
>> Nasty.  We should definitely use Strings.  Michal, was there a reason
>> for the StringHolders?
>
> I suspect it was just thoughtless copying of code from ChangeSet.

And while you're at it: PackageList, which is a Morphic interface, 
should not be in PackageInfo-Base, IMHO.

- Bert -




More information about the Squeak-dev mailing list