[ENH] floatGlobals-ls ( Not really happy: design comments )

Alexandre Bergel bergel at iam.unibe.ch
Sun Sep 19 21:00:25 UTC 2004


humm... When I reread my post, I think that I was perhaps too crude.
If it is the case, I did not want. The late hours might probably be some something...

Regards,
Alexandre

On Sun, Sep 19, 2004 at 10:58:06PM +0200, bergel at iam.unibe.ch wrote:
> 
> I would like to raise two points from your design.
> 
> I am really wondering the reason of adding a new global variable named
> Infinity. Adding such a global bindings with such a generic name looks
> like dangerous for me. If it is needed to have an infinity even with
> integer, why not to add it in the class Number? It seems that it makes
> things easier regarding the evaluation of string. I do not see this need
> strong enough to add new global variables. We have SmallInteger>>maxVal,
> why not to have Float>>infinity (without having ^ Infinity as
> implementation)
> 
> 
> Changing the grammar in order to handle infinity easier? I am really
> against this proposition.
> 
> 
> Note that I did not see the code (I can read it using the "code" button
> in the file list browser).

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



More information about the Squeak-dev mailing list