RE: APIs that overload numbers and strings

> Note that if we in indexedDB treated all numbers as strings, that would mean
> that 8 would sort between 70 and 90.

That's not necessarily true: collation schemes can often be tailored to recognize numeric strings and treat them accordingly. It depends on how your implementation is set up... although I tend to agree with the meta-argument: numbers should sort like numbers.


Addison Phillips
Globalization Architect (Amazon Lab126)
Chair (W3C I18N WG)

Internationalization is not a feature.
It is an architecture.

Received on Sunday, 14 April 2013 23:00:23 UTC