Tab Atkins Jr. (2013-08-01T17:43:36.000Z)
domenic at domenicdenicola.com (2013-08-05T20:08:05.692Z)
On Thu, Aug 1, 2013 at 10:33 AM, Juan Ignacio Dopazo <dopazo.juan at gmail.com> wrote: > If then() deep flattens, flatMap() only flattens one level and promises > assimilate thenables, is branding really necessary? The concept of "thenable" *is* branding. It's just branding with a short, simple string property ("then"), rather than branding with a hard-to-collide string (like `__promiseBrand__` or something) or a symbol.
domenic at domenicdenicola.com (2013-08-05T20:03:36.580Z)
On Thu, Aug 1, 2013 at 10:33 AM, Juan Ignacio Dopazo <dopazo.juan at gmail.com> wrote: > If then() deep flattens, flatMap() only flattens one level and promises > assimilate thenables, is branding really necessary? The concept of "thenable" *is* branding. It's just branding with a short, simple string property ("then"), rather than branding with a hard-to-collide string (like `__promiseBrand__` or something) or a symbol.