Do Anonymous Exports Solve the Backwards Compatibility Problem?
dherman at mozilla.com
Wed Dec 19 15:22:46 PST 2012
On Dec 19, 2012, at 12:05 PM, Andreas Rossberg <rossberg at google.com> wrote:
>> Assigning a single exports also nudges people to make small modules
>> that do one thing.
> It rather nudges people into exporting an object as a module, instead of writing a real module. The only "benefit" of that is that they lose all static checking.
I don't think that's fair. It's just an anonymous export. The contents of an export are always dynamic.
More information about the es-discuss