You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that JS community is agree that generators+promises coding patterns will be the next big thing in JavaScript development world. With such things as io.js it looks like the future already is here. And I want to start a discussion on possible new syntax and semantics of the corresponding language elements.
I invite you to take a brief look at the one of the possible implementations #3813, and provide a constructive critics for it, as well as discussion around it.
TL;DR - for demonstration I've implemented a toy feature (diamod arrows - see the test case) that allows concisely write async/await like functions. This feature interplays very well with CoffeeScript classes and inheritance and have a very small footprint (comparable with _extends utility). I agree that the syntax chosen is a bit ridiculous, but I want to discuss the semantics and the future general line rather than the particular syntax
The text was updated successfully, but these errors were encountered:
I believe that JS community is agree that generators+promises coding patterns will be the next big thing in JavaScript development world. With such things as io.js it looks like the future already is here. And I want to start a discussion on possible new syntax and semantics of the corresponding language elements.
I invite you to take a brief look at the one of the possible implementations #3813, and provide a constructive critics for it, as well as discussion around it.
TL;DR - for demonstration I've implemented a toy feature (diamod arrows - see the test case) that allows concisely write async/await like functions. This feature interplays very well with CoffeeScript classes and inheritance and have a very small footprint (comparable with _extends utility). I agree that the syntax chosen is a bit ridiculous, but I want to discuss the semantics and the future general line rather than the particular syntax
The text was updated successfully, but these errors were encountered: