Comprehensions, Where Art Thou?
zenparsing at gmail.com
Mon Aug 11 06:03:02 PDT 2014
I still don't quite understand the motivation for removing comprehensions
from ES6. They are a well-loved feature of Python and I have every reason
could certainly leave off array comprehensions, while keeping generator
comprehensions, since you can build a list from a comprehension using
var list = [...(for x of iterable if somePredicate(x)];
Can someone explain more clearly the motivation for removing this feature?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss