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

Stéphane Rollandin lecteur at zogotounga.net
Sun Aug 31 16:27:49 UTC 2008


nicolas cellier a écrit :
> 
> Strangely, Squeak Number class>>#readfrom: used to accept non Smalltalk 
> syntax like:
> (Number readFrom: '.2') -> 0.2 .
> (Number readFrom: '2.e3') -> 2000.0 .

> Now I see that Dave Lewis (dtl) asserted this feature:

> I'd like to remove this feature.
> Is it ok?

I would vote for allowing those formats.

Stef




More information about the Squeak-dev mailing list