The global object should not be the "global scope instance object"
allen at wirfs-brock.com
Fri Jan 27 11:48:44 PST 2012
On Jan 27, 2012, at 12:06 AM, Andreas Rossberg wrote:
> On 26 January 2012 23:20, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
>> In general, when I start think about the ways that lexical declarations in
>> separate scripts might interact I run into issue that are probably best
>> resolved using modules.
> Probably. I suppose the underlying question is: given modules, what
> are the remaining use cases for multiple scripts?
> On the other hand, I'm pretty sure that people will still use multiple
> scripts, even when there are no good reasons. It's the web, after all.
Yes, but do we really have to solve the same problems twice? Once for modules and once for module-less multi-scripts.
Why not make the solution to these sorts of issues be the carrot that leads people to using modules.
More information about the es-discuss