-
Notifications
You must be signed in to change notification settings - Fork 7
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
Elaboration on motivation? #1
Comments
From the readme:
Additionally, your statement could be made for many things that we've standardized in the language.
I said: "JS-on-hardware, JS remotely controlling hardware & IoT project", but it's actually not really relevant to be that specific—don't get too hung up on it. It's "JS doing Math". My mention had nothing to do with efficiency of implementation on "real hardware" or not, but more to do with "these operations are extremely common in this environment for these types of applications".
Why should such operations require the inclusion of user libraries when they are built-ins in other languages?
Why should they not be available as built-ins in JS? |
I read your readme. When you say "paves a widening cowpath", do you mean you think it would make sense to standardize more I think few of the library additions we've made recently are as simple as these. Maybe some like Each of these math functions you are adding seems to have a very simple definition, and I have a hard time understanding what's cleaner about using the additional library.
I think it's a good idea to look at what we should be adding to the JavaScript standard library, but I'd also like to weigh the benefit of making these additions against the cost in terms of, e.g.,
Those aren't arguments against this particular proposal, just that all library additions should have some reasonably strong positive justification, rather than turning it around as "why should they not be added". But don't get me wrong, I really want to see the ES standard library improve over time, and for example, I'm happy about the additions that we got in ES2015. I'm just not sure whether these are what we should be adding next. |
This name is one of three possible names that I present. The rest of your comments seem better suited to meeting time discussion. |
Happy to discuss it in the meeting; I just wanted to give you feedback ahead of time so you can prepare. See you tomorrow. |
I took a look at this specification, and it's hard for me to see why these are needed in JS itself as opposed to user-level libraries. Are any of them more efficient to implement on real hardware? Which ones? What makes user-level libraries inadequate for things like converting between degrees and radians?
The text was updated successfully, but these errors were encountered: