Andreas Rossberg wrote:
On 3 April 2012 22:16, Mark S. Miller <erig...@google.com
<mailto:erig...@google.com>> wrote:

         foo(a, b, ...rest)

    vs

         foo(a, b, rest...)

    Which is clearer?


First, because it is much more apparent that 'rest' is a different beast
than the other parameters. The second form "looks" natural but in a
rather misleading way.


    ES6 has currently agreed on the first. English and Scheme agree on
    the second.


There seems to be sufficient precedent in PLs either way. But what would
be the equivalent to this construct in the English language? (The second

"... (the rest)"
Which sort-of convinced me that prefix is the right one.

form exists in English syntactically, but with a different meaning.)

/Andreas

Herby
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to