Suggestions for Set

Jussi Kalliokoski jussi.kalliokoski at gmail.com
Wed Oct 3 00:47:50 PDT 2012


On Wed, Oct 3, 2012 at 10:24 AM, Andreas Rossberg <rossberg at google.com>wrote:

> On 3 October 2012 05:38, Brendan Eich <brendan at mozilla.com> wrote:
> > Which is more important, iterating over holes (preserved if possible), or
> > skipping them and therefore spreading array-likes but not iterables?
>
> I, for one, couldn't care less about holes. We shouldn't compromise
> any useful feature just for the sake of preserving some array hole
> craziness.
>

I agree. Unless there's a sane use case for holes with the spread operator,
I don't think it makes sense to make compromises because of them,
especially since we aren't breaking backwards compatibility or anything. We
can actually make something better here.

Cheers,
Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121003/f51fec77/attachment.html>


More information about the es-discuss mailing list