[+dherman, +samth, +brendan] cc'ing David and Sam who are the champions of the module proposal. And cc'ing Brendan.
I was not aware that "module" was common in Node code, just that it was present. I'm not sure any of us knew that it was common. Regardless, I have repeatedly raised the suggestion that ES6 adopt "package" for the role currently played by "module", since "package" is already reserved in strict mode. However, IIRC not a single other person on the committee voiced any support for this -- for an understandable reason. The term "package" is in use by Java for something different, but similar enough to create confusion. Our latest agreement is that it be a context sensitive keyword, triggered by syntax that today is necessarily rejected. So, technically at least there is no conflict with Node *code*. Whether the co-existence of both uses of this identifier in Node code makes this confusing is another matter. Once ES6 rolls out, is it likely that both uses would co-exist in the same source file? Or would it be more likely that source files using ES6 modules would typically not need Node's existing use of "module" in that same file? On Fri, Feb 17, 2012 at 7:32 AM, khs4473 <[email protected]> wrote: > Mark, has there been much discussion about the fact that "module" is an > extremely common identifier (because of Node, in particular, but it's a > common identifier in any case), and how it's use as a keyword, even a > context-sensitive keyword, might not be the best choice going forward? > > khs > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Text by me above is hereby placed in the public domain Cheers, --MarkM -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
