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

Karl Ramberg karlramberg at gmail.com
Tue Sep 2 19:33:29 UTC 2008


Paolo Bonzini wrote:
>>>> { 0.2.3.4.5.6 } printString '#(0.2 3.4 5.6)'
>>>>         
>> Under my eyes, the problem is related with
>> the non-smalltalk syntax of braces...
>>     
>
> Not really.  Using GNU Smalltalk just because it prints the result of
> every statement separately, I get:
>
> st> 0.2.3.4.5.6
> 0.2
> 3.4
> 5.6
> st>
>
> Braces are not a problem in this case.
>
> I would be in favor of only accepting . as a statement separator if it
> is followed by whitespace, but I would rather see other dialects do the
> same.
>
> Paolo
>
>
>   
Problem could be dealt with with a syntax colorizer that made such 
things obvious, but then you would have to use the syntax colorizer all 
the time...

karl



More information about the Squeak-dev mailing list