A Challenge Problem for Promise Designers

Domenic Denicola domenic at domenicdenicola.com
Fri Apr 26 12:47:34 PDT 2013


From: David Bruant [bruant.d at gmail.com]

> Which naturally leads to the question: why should platform promises be compatible with Promise/A+ and not jQuery "promises"? Because more libraries use Promise/A+? what about market share?

What we're discussing is not *compatibility* but *ability to assimilate*. Assimilating thenables requires no particular spec compliance or library compatibility. Promises/A+ (in the 1.1 version) gives a step-by-step procedure for doing so that is quite resilient in the face of edge cases, and so I'd recommend it for any assimilation semantics, but that's not terribly relevant to the question of whether there should be assimilation semantics *at all*.


More information about the es-discuss mailing list