[squeak-dev] Re: Number readFrom: can we remove some
"accidental"features
Alejandro F. Reimondo
aleReimondo at smalltalking.net
Sun Aug 31 21:33:36 UTC 2008
Hi!
>> { 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...
The problem is a side effect of queueing
sentences in a pseudo-array notation
(remove the braces and the ambiguity
vanishes).
IMO, all said to non-st numeric notation is
correct, and the same work (of remotion)
must be done on {....} syntax.
The same is applicable to ifNil:... and friends
because it promote the idea (in newbies) that
it is better to write faster...
cheers,
Ale.
----- Original Message -----
From: "nicolas cellier" <ncellier at ifrance.com>
To: <squeak-dev at lists.squeakfoundation.org>
Sent: Sunday, August 31, 2008 4:12 PM
Subject: [squeak-dev] Re: Number readFrom: can we remove some
"accidental"features
> Igor Stasenko a écrit :
>> 2008/8/31 Stéphane Rollandin <lecteur at zogotounga.net>:
>>> 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)'
>>
>
> Yes funny.
> Guess in which language you can evaluate
>
> -3r=3r-.-3r-=3r
>
> No, it is not /etc/printcap.
> That's why Stef (Ducasse) asked for cleanup I guess.
>
>
>
More information about the Squeak-dev
mailing list
|