[squeak-dev] "local" vs. "persistent" preferences

Chris Muller asqueaker at gmail.com
Thu Mar 11 22:38:11 UTC 2010


> I'd favor a preference directory with one file per preference, named after the preference.

Why not just a Dictionary object of the preferences saved via SmartRefStream?

On Thu, Mar 11, 2010 at 4:31 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 11.03.2010, at 22:51, Chris Muller wrote:
>>
>> Personally, I've not had a need for project-specific preferences.
>
> Project-local preferences are pretty much only useful in Etoys, where projects are the preferred unit of modification.
>
> That's also why persistent preferences are necessary in Etoys, since the image is read-only and not modified. To make customizations, preferences need to be read at startup. I'd favor a preference directory with one file per preference, named after the preference.
>
> - Bert -
>
>
>
>



More information about the Squeak-dev mailing list