A reprieve for ES6 comprehensions

Andy Wingo wingo at igalia.com
Tue Jun 10 01:22:11 PDT 2014

On Sat 07 Jun 2014 21:28, "Tab Atkins Jr." <jackalmage at gmail.com> writes:

> do you also disagree with Python's high similarity between array
> comprehensions and generator comprehensions?

It seems that we have lost context on both sides, both in David's slides
and in my note ;) One of David's thoughts was that somehow the syntax
could and should be unified, but we don't know how to do that right now,
and so we should put off comprehensions until later.

I was suggesting that actually they can't be unified, and that
comprehensions are syntactically fine as they are, and compatible with
extensions that are under discussion.  But David knows the tradeoffs
better than I do.


More information about the es-discuss mailing list