[Pharo-project] [squeak-dev] Re: Menu Registries

Stéphane Ducasse stephane.ducasse at inria.fr
Thu Apr 29 06:46:17 EDT 2010


+1 

So now we will be the guys that do not want to be backward compatible, but this is on the web page
of pharo so nothing really new to me :)

>>> Good but what is your point?
>> 
>> Compatibility and simplicity.
> Come on Andreas, "simple" is not so much more precise than "cool"
> 
> and I don't think that having:
> 
> ------------------
> Editor class>>blinkingCursor
> ^ BlinkingCursor ifNil: [ true ]
> 
> EditorSetting class>>editorSettingsOn: aBuilder
> <systemsettings>
> (aBuilder setting: #blinkingCursor)
>   label:'Blinking Text Cursor')
>   parent: #Morphic;
>   target: Editor;    description: 'When true, the text cursor will blink.'
> -------------------
> 
> is so much more "complicated" than
> 
> -------------------
> Editor class>>blinkingCursor
> <preference: 'Blinking Text Cursor'
>   category: 'Morphic'
>   description: 'When true, the text cursor will blink.'
>   type: #Boolean>
> ^ BlinkingCursor ifNil: [ true ]
> -------------------
> 
> You prefer UI+domain mixing, we prefer UI separated from domain.
> And yes, the SettingBrowser implementation could be improved.
> I know, but I'm happy because it can be removed or remade
> without any other consequence.
> And compare it to the PreferenceBrowser ...
> 
> Cheers
> Alain
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project





More information about the Pharo-dev mailing list