-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the name to be more related #8
Comments
@sffc , @zbraniecki , @hugovdm ... could you add suggestions, please? |
Based on LDML - http://unicode.org/reports/tr35/tr35-general.html#Unit_Preference_and_Conversion - maybe |
Or just "Measurement Unit Preferences"? |
I think |
I would have liked "NumberFormat Unit Preferences" if that was all that we would propose with this. There was some talk in the meeting about exposing just the preferences as a first step, and not implementing the conversions? Because of this, I'm feeling "Measurement Unit Preferences" is broader in scope and would have us covered even if we did end up "pivoting" away from [only] changing Intl.NumberFormat with this. |
The problem with "Unit Preferences" is that it is easy to confuse with "User Preferences". |
Does it mean you intend for the API to be attached to
I don't see this as an issue. |
I'm primarily thinking of the request someone made: for us to consider providing an API that returns user preferences, before we consider adding an API that actually does all the conversions etc as well. I'm not convinced by this suggestion, but I'm appreciating some concerns about the complexity we're adding to the ECMAScript platform when we're going so far as to add unit conversions to it. Recap: practically speaking, how do we relate to up-to-date ECMAScript implementations that don't make use of ICU? (Do they exist at this time, or is this hypothetical?) |
Two examples of future non-ICU implementations are polyfills (such as format.js) and ICU4X. |
That was me and the motivation is to continue with the tradition of ECMA402 being building blocks for user libraries that are intended to lower the entry barrier and payload per-website. In this case, I'm not confident that the payload is high, and the use case is common enough to justify such API, but if it is, offering building blocks rather than end-to-end solution seems safer and less likely to backfire.
I would consider it to be a failure of this WG if we ended up designing a spec that implicitly requires ICU backing. |
Smart Unit Preferences is kinda a fascinating name, especially the smart part. Therefore, if you have any suggestion would be nice :)
The text was updated successfully, but these errors were encountered: