Le 15 nov. 2013 à 17:59, Rick Waldron <[email protected]> a écrit :

> 
> On Fri, Nov 15, 2013 at 11:34 AM, Axel Rauschmayer <[email protected]> wrote:
> 
> (...)
> 
> That would make the async programming code more compact, too (I’m assuming a 
> nullary paren-free arrow variant and I prefer the asterisk after the arrow):
> 
> To be clear, this preference is inconsistent with all other generator forms 
> where the asterisk is before the params, per Brandon's original examples.

The other point of view is that this preference is consistent with other 
generator forms where the asterisk is after the token that defines the general 
role of the construct as a procedure (either the `function` keyword, or the 
`=>` token). Personally, I tend to read `function*`as a unit meaning "generator 
function", and so would I for `=>*`.

—Claude

> 
> Rick
>  
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to