[squeak-dev] Re: Number readFrom: can we remove some "accidental" features

Klaus D. Witzel klaus.witzel at cobss.com
Sun Aug 31 18:41:25 UTC 2008


On Sun, 31 Aug 2008 20:20:43 +0200, Igor Stasenko wrote:

> 2008/8/31 Stéphane Rollandin :
>> Igor Stasenko a écrit :
>>>
>>> My guess it can stay, but only as separate helper method, which reads
>>> a numbers and expecting non-smalltalk syntax.
>>
>> yes, useful for end-user input in numerical applications.
>> we could spare them the .2 = 2 experience...
>>
>
> Btw, everyone is content with such ambigility?
>
> { 0.2.3.4.5.6 } printString '#(0.2 3.4 5.6)'

Why #printString, why evaluate things unneccessarily, why pollute .changes  
file?

In some Squeak .images the menu entry "pretty print" works (even before  
doing the first alt-s), so you can ask an expensive and unmatched expert  
system if it already understands what you mean ;)

>> Stef
>>
>
>





More information about the Squeak-dev mailing list