Modular At-Names

Yehuda Katz wycats at gmail.com
Mon Oct 15 13:47:43 PDT 2012


Yehuda Katz
(ph) 718.877.1325


On Mon, Oct 15, 2012 at 4:19 PM, Kevin Smith <khs4473 at gmail.com> wrote:

>
> For the case of importing "37" at-names, I would expect that * imports
>> would take care of it:
>>
>> import * from ModuleDefining37NameInterface;
>>
>
> Oh, come on!
>
> The problem isn't importing the names.  The problem lies in having to
> maintain a nightmarishly long set of declarations which are **completely
> internal to the module**, not exported and not imported.
>

This is essentially the problem I had when I tried to port existing code.
It was especially annoying because it was easy to forget to create and
maintain the declarations.

The more I think about it, the more I think that scoping symbols to modules
would work well. Does that mean symbols are simply disallowed outside of
modules?


>
> Kevin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121015/fe2b2a47/attachment.html>


More information about the es-discuss mailing list