Precedence of yield operator

Sam Tobin-Hochstadt samth at ccs.neu.edu
Fri Jun 14 08:33:20 PDT 2013


On Fri, Jun 14, 2013 at 11:21 AM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
> Using generators for async is a clever hack, but it's just a hack.  A
> proper solution will need a new keyword anyway (most languages seem to
> use "await" or something similar), which can get the better
> precedence.

This is just not true -- the semantics of generators and of `await` as
proposed on this list are very very similar.

Sam


More information about the es-discuss mailing list