>
> You're right that backward compatibility has probably been overestimated.
> And indeed I'm biased - I am using a promise library in day-to-day coding
> ([Bluebird][1]) which will be impossible to re-architect by inheriting from
> built-in Promises. I'm using it because it gives me performance, long stack
> support, filtered catch i.e. `.catch(predicate, handler)` and other great
> goodies.


I guess I don't see a reason why you can't do all of that with subclassing.
 The only thing subclassing is going to force you into is using the
system's microtask queue.  Other than that you can tweak the API all you
like.  It's hard to believe that a user-land library can beat the system in
terms of performance and debug-ability.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to