longster at gmail.com
Wed Nov 12 07:48:38 PST 2014
On Wed, Nov 12, 2014 at 10:46 AM, Kevin Smith <zenparsing at gmail.com> wrote:
>> It's inherent in the promise design, there is no way to truly fix
>> promises. You have to mark the end of a promise chain. It's always
>> going to be that way.
> So you're starting from the position that promises are inherently flawed and
> should be abandoned. That's not really constructive discussion at this
Not necessarily! I know a lot of people like promises and I'm fine
with them being in the language! What I'm saying is that if we are
going to build *special* support for async/await we should take a step
back and see what we could do if they weren't built on top of
promises. That doesn't mean abandoning them completely from the
language. It turns out (in my opinion) that we could do better if
async/await didn't assume the promise infrastructure.
More information about the es-discuss