(Almost) everything is expression
Mark S. Miller
erights at google.com
Fri Nov 11 09:49:29 PST 2011
On Fri, Nov 11, 2011 at 9:13 AM, David Herman <dherman at mozilla.com> wrote:
[...]
> Hence my do-expressions:
>
> http://wiki.ecmascript.org/doku.php?id=strawman:do_expressions
>
> or Brendan's subtly-disambiguated-block-statement-expressions:
>
>
> http://wiki.ecmascript.org/doku.php?id=strawman:block_vs_object_literal
>
> If Brendan's idea can be made to work, and it's not too confusing, I'm
> pretty sure I'd prefer it over do-expressions.
>
[...]
Interesting. But I think I prefer do expressions over making JS parsing
that much more subtle. JS is already much to hard to parse, and other
accepted changes are already making it even more so.
--
Cheers,
--MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20111111/50c9bbfd/attachment.html>
More information about the es-discuss
mailing list