Do Anonymous Exports Solve the Backwards Compatibility Problem?

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

On 20 December 2012 05:24, Brendan Eich <brendan at> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list