On Wed, Apr 6, 2011 at 8:25 AM, David Herman <[email protected]> wrote:
> Sure. Surface syntax isn't set in stone, but we aren't likely to go back to
> just the string literal, since it looks too much like the module is being
> assigned a string value.
I know you do not want to get into bikeshedding at this point, and I
will not follow this up any more unless you explicitly ask me, but I
strongly encourage just using the string value, sans require. It is
much more concise, and OK given that modules are special (compile-time
processing, special injection via import).
If string IDs are allowed for inline module declarations to allow
optimization bundling:
module "some/thing" {}
that would help feed the consistency when seeing: module M = "some/thing".
James
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss