Do Anonymous Exports Solve the Backwards Compatibility Problem?

Andreas Rossberg rossberg at google.com
Thu Dec 20 02:54:32 PST 2012


On 20 December 2012 05:24, Brendan Eich <brendan at mozilla.com> wrote:

> Domenic Denicola wrote:
>
>> IMO this is undesirable. In such a situation, modules can no longer be
>>> abstraction boundaries. Instead you must peek inside each module and see
>>> which form it exported itself using.
>>>
>>
> You have to know what a module exports, period. That *is* the abstraction
> boundary, the edge you must name or otherwise denote.
>
> All Andreas is arguing for is a runtime error when you try to denote an
> anonymous export but the module does not match.


A static error, actually.

/Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121220/af5dc6d7/attachment-0001.html>


More information about the es-discuss mailing list