Re: ImportSpecifierSet syntax

2013-09-11 Thread Brendan Eich
David Herman September 11, 2013 10:24 AM Best of luck. :) We've spent a long time in this space, considered many competing constraints, and we've settled on a good spot with the syntax. I'm not interested in spending more time on it. I'm not either, but perhaps Ar

Re: ImportSpecifierSet syntax

2013-09-11 Thread Erik Arvidsson
On Wed, Sep 11, 2013 at 1:24 PM, David Herman wrote: > On Sep 8, 2013, at 12:45 PM, Brendan Eich wrote: > >> Erik Arvidsson wrote: >>> >>> Oh, I forgot about that wart. >>> >> >> Are default imports a wart no matter the syntax, or only because of this >> brace imposition issue you've identified?

Re: ImportSpecifierSet syntax

2013-09-11 Thread David Herman
On Sep 8, 2013, at 12:45 PM, Brendan Eich wrote: > Erik Arvidsson wrote: >> >> Oh, I forgot about that wart. >> > > Are default imports a wart no matter the syntax, or only because of this > brace imposition issue you've identified? If the latter, perhaps there is > another solution that giv

Re: ImportSpecifierSet syntax

2013-09-11 Thread David Herman
Axel wrote: > The problem is that you have to bite the bullet of syntactic inconvenience > for either default imports or normal imports. Correct. This is the #1 justification. Rick wrote: > Subjectively, this is really hard to read, versus the curlies which provide a > visual boundary (also s

Re: ImportSpecifierSet syntax

2013-09-08 Thread Rick Waldron
On Sun, Sep 8, 2013 at 11:55 AM, Erik Arvidsson wrote: > http://wiki.ecmascript.org/doku.php?id=harmony:modules#syntax > > Currently ImportSpecifierSet is proposed to start with "{" and end > with "}". This made a lot more sense when we reused the destructuring > syntax. Now that we are using "as"

Re: ImportSpecifierSet syntax

2013-09-08 Thread Brendan Eich
Erik Arvidsson wrote: Oh, I forgot about that wart. Are default imports a wart no matter the syntax, or only because of this brace imposition issue you've identified? If the latter, perhaps there is another solution that gives us win-win. /be __

Re: ImportSpecifierSet syntax

2013-09-08 Thread Erik Arvidsson
Oh, I forgot about that wart. On Sep 8, 2013 12:04 PM, "Axel Rauschmayer" wrote: > The problem is that you have to bite the bullet of syntactic inconvenience > for either default imports or normal imports. I’d prefer the syntax you > suggested, but there seem to be many people who want to make de

Re: ImportSpecifierSet syntax

2013-09-08 Thread Axel Rauschmayer
The problem is that you have to bite the bullet of syntactic inconvenience for either default imports or normal imports. I’d prefer the syntax you suggested, but there seem to be many people who want to make default imports as simple as possible. -- Dr. Axel Rauschmayer rauschma.de [Sent from a

ImportSpecifierSet syntax

2013-09-08 Thread Erik Arvidsson
http://wiki.ecmascript.org/doku.php?id=harmony:modules#syntax Currently ImportSpecifierSet is proposed to start with "{" and end with "}". This made a lot more sense when we reused the destructuring syntax. Now that we are using "as", these curlies look like a remnant from the past. import {a as