On Wed, 7 Oct 2015 at 19:59 Isiah Meadows <[email protected]> wrote:

> Andy, look at my most recent post to this list. What do you think of that
> point?
>
> https://mail.mozilla.org/pipermail/es-discuss/2015-October/044337.html


CoffeeScript appears to have exactly the behaviour I (and most others,
presumably) would have expected.  I agree that the code in your gist is
tricky to follow as a result of this limitation on rest params and not
easily optimised.

As far as I can tell, the main argument against is that the use cases
aren't compelling enough to warrant the additional complexity in the spec.
You said yourself that yours wasn't a common use case and although the
callback-at-the-end pattern is pretty common, that's not so much an
argument for rest in the middle as much as it is for defaults in the middle.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to