Parsing Numbers

Alexander Lazarević Alexander at lazarevic.de
Tue Sep 20 05:23:06 UTC 2005


Andreas Raab schrieb:
> If you'd know me a little better, you would probably know that the
> unfortunate effect that "(2 + 3 * 4) ~= (2 + (3 * 4))" disturbs me
> deeply, too. It's simply bad user interface design to ignore what your
> users already know and have been growing up with. And no, you don't have
> to "accept" it if you know what you're doing since you can use
> parenthesis and reordering. For example, I tend to write linear
> interpolation as "(end - start) * t" although the parens aren't
> required. But at times the precedence rules *still* get me, even after
> using Smalltalk for more than ten years. And I tend to use *more*
> parenthesis rather than *less* as some might expect, since I do happen
> to look at and use other languages which get precedence right and it
> confuses the hell out of me to switch between precedence rules.

+1e6 ;)

When I did some Spline/NURBS stuff with squeak I had my nose in a NURBS
math book looking at formulas and C code on one side and looking at
squeak code on the other side. It was hell indeed. :)

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3192 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20050920/1c234a29/smime.bin


More information about the Squeak-dev mailing list