On Mar 21, 2012, at 9:01 PM, Axel Rauschmayer wrote:

> I like variant B, because it follows the rules:
> - "module" => define a module
> - "import" => extract something out of a module

Sure, but note that you can import a sub-module, so it's not a *totally* clean 
split.

> But I would use a keyword instead of "=" (due to the reason that you 
> mentioned). Compare:
> 
>     module Bar = "bar.js";
>     module Bar is "bar.js";
>     module Bar from "bar.js";
>     module Bar in "bar.js";
>     module Bar via "bar.js";
> 
> I’m not entirely happy with either one of these keywords, but they all seem 
> better to me than the equals sign. So any other keyword is fine by me, really.

I think the = sign looks the cleanest.

No "from" -- we have to be consistent that "from" only means extraction. The 
others all just look awkward.

Dave

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to