March 28 meeting notes

Domenic Denicola domenic at
Thu Mar 29 06:23:56 PDT 2012

Great to gain consensus indeed. This looks just about as nice as it can be.

Minor question: There are no examples of "very empty" arrow functions, e.g. `=>` or `=> 5`. And from what I can tell reading the grammar , they are not allowed. Is this necessary? CoffeeScript's allowance of `-> (expr)` gives some nice-looking code, for example see [1].

Bigger question: It sounds like TCP was sacrificed in favor of maximal minimalism, which makes sense. But, is this strawman friendly toward future TCP endeavors, perhaps in For example, if `do` expressions were specced in the way discussed previously, could putting one to the right of the => result in TCP semantics?


-----Original Message-----
From: es-discuss-bounces at [mailto:es-discuss-bounces at] On Behalf Of Brendan Eich
Sent: Thursday, March 29, 2012 02:30
To: Waldemar Horwat
Cc: es-discuss
Subject: Re: March 28 meeting notes

Waldemar Horwat wrote:
> Consensus on:
> - Have only one arrow, namely =>
> - this is always static.  No provision for dynamic this.
> - Other than the treatment of this, the function behaves like a normal 
> function.  return, break, etc. behave as though the function body were 
> in a function(...){...}.
> To be discussed later:
> The thing that comes after the arrow:
> 1. Always an expression (possibly a do expression)?
> 2. A block if it starts with {, otherwise an expression.

See -- I'm a bit tired from travel so may have made a mistake or two, and I know some of the examples should be better. Comments welcome.

Great to gain consensus on this today!

es-discuss mailing list
es-discuss at

More information about the es-discuss mailing list