Revisiting Decimal

Kris Zyp kris at sitepen.com
Fri Jan 9 15:08:55 PST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 

>
> The counter-argument is strong:
>
> typeof x == typeof y => (x == y <=> x === y)
>
> but 1.1 != 1.1m for fundamental reasons.
I understand the counter-argument, but with such an overwhelming
number of typeof uses having far easier migration with "number", I
can't possibly see how the desire to preserve this property is more
important than better usability for the majority use cases. Do you
think other libraries and JS code are that vastly different than Dojo?
Thanks,
Kris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iEYEARECAAYFAkln2QcACgkQ9VpNnHc4zAwasgCfbRvlyhoUlNuWSRUKyNeTyWzh
B0IAoIh59kZflQy9A8Re9KpVUrNLQj/A
=PnfR
-----END PGP SIGNATURE-----



More information about the Es-discuss mailing list