kriskowal / gtor

A General Theory of Reactivity
MIT License
3.03k stars 109 forks source link

Explain how your promise interface differs from the standard one #3

Closed domenic closed 10 years ago

domenic commented 10 years ago

That is, the return and throw methods; the Promise.defer method; the resolver object instead of separate resolve and reject functions; etc.

kriskowal commented 10 years ago

Yeah, I’m going to write up a document about naming free variables versus naming properties in ES5 versus naming properties in ES3 that motivates the parallel of return and close to resolve, throw to reject, write to yield, cancel to throw, &c. I should also make clear that these parallels are intended to be illustrative and far too academic to approach normative.

kriskowal commented 10 years ago

…but I will make that argument another time in another place. Removed locally, pushing change soon.