News for hackers. Stuff that matters.
Re:Node v8.0.0 Released by ujal on Wednesday May 31, 2017 @05:36AM (#14451295)
Its the ambiguity for new programmers. With something like awaitAll new programmers wouldn't need to learn about Promises at all.

You have a point with concurrency, but handling concurrency is an another beast altogether.

Re:Node v8.0.0 Released by always_good on Wednesday May 31, 2017 @08:07AM (#14451807)
I have a hard time understanding how adding alias indirection disambiguates anything much less spares one from learning something.

How does one get to the point where they want to await multiple promises, yet they need to be insulated from the very presence of the `Promise` object?

Re:Node v8.0.0 Released by ujal on Wednesday May 31, 2017 @09:29AM (#14452300)
Well at least in my mental model a Promise is an object that eventually resolves to something within its .then() method. In contrast my mental model of await is that of a blocking call. One can internalize the latter without the former.