95 points · by jlongster · 13y ago · 30 comments
I wonder if it will be feasible to code in JS Next and have a compiler step somehow take care of backporting. Probably not.
That is: not a stable, cross platform, version on the horizon yet --not even excluding IE--, and we're in for a long wait.
I have been waiting to use this feature on the web, well, since Mozilla implemented it, which must have been at least 5 years ago.
Why would they have? Seems like waiting for ecma approval and specification makes sense.
Edit: I think some ports are maintained from people outside Google. It's not really easy to tell, because most people have @chromium addresses.
You can see full list of people and organizations that contributed to V8 in the AUTHORS file.
This article in question was already discussed in some depth on HN[2].
Can't wait for an era of much more elegant async code!
[for (x of a) for (y of b) x * y]
but those would be really nice as well.
A few months ago the ES committee decided to switch them from reading right-to-left (as in spidermonkey comprehensions, python, and haskell) to reading left-to-right (as in C#):
You'd think it would be the other way round!