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

Paolo Bonzini bonzini at gnu.org
Tue Sep 2 15:50:47 UTC 2008


>>> { 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



More information about the Squeak-dev mailing list