Minimal Module System Proposal

Brendan Eich brendan at mozilla.com
Tue Feb 12 14:42:06 PST 2013


Kevin Smith wrote:
>
>          Variant B: "module =" syntax
>
>     Is that the variant you favor?
>
>
> Yes, because:
>
> - It aligns the URL visually to the right, which is consistent with 
> the import syntax.
>
> - It makes it clear that we are binding an identifier to a (possibly 
> external) module, as opposed to importing bindings from a module.  I 
> think we should avoid overloaded terminology where "import" can also 
> mean "load".

I like it best too, for those reasons.

/be


More information about the es-discuss mailing list