C. Scott Ananian
ecmascript at cscott.net
Tue Jun 24 07:36:02 PDT 2014
On Tue, Jun 24, 2014 at 10:05 AM, Kevin Smith <zenparsing at gmail.com> wrote:
>> Lots of things are breaking API changes. Changing the name of one of the
>> named exports, for instance. Critically, in Ron's proposal, you *can*
>> change a default export to named exports later (or vice versa) *without
>> changing the users of the module*.
> Maybe, but certainly not without completely redoing the semantics. Do you
> think that's possible, at this point?
I don't agree that the changes to the semantics are large, if we're talking
about simply allowing a single syntactic form for both named and default
import and Ron's option (A) (where default and named exports can not
co-exist... until ES7 at least).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss