Hacker News new | ask | show | jobs
by martinbooth 3766 days ago
The fact that the generated javascript doesn't look as neat is a pretty poor argument. Does the author avoid other language features that get "lowered" (http://ericlippert.com/2014/04/28/lowering-in-language-desig...) into less elegant code as part of the execution?

In time, we'll not see this code as it'll all happen within the javascript engines, but all features of javascript are still abstractions over lower level code.

How about writing a loop over asynchronous functions? Now that is unpleasant to look at, and most examples I've seen use recursion which is pretty limiting.

That is one of the best reasons to embrace async/await