On Tue, Oct 4, 2011 at 12:51 PM, Mike Samuel <[email protected]> wrote:
> No it doesn't. > > Just walk the object graph starting from the root object and let the > set of all reachable symbols be A. > Load jQuery > Walk the object graph again letting the set of all reachable symbols be B. > > The public API of jQuery is then (B - A). That's works fine under 2 conditions: 1. You're willing to execute code instead of statically analyze it 2. You're capable of executing that code in isolation. On larger projects, to understand how a single file will be executed may require understanding many other files in configuration. Modules will help this a great deal - but its a syntax update, and part of the point being made here. I would say that now that Microsoft is embracing JavaScript for Windows 8, and Adobe is accepting that HTML5 will replace a great deal of flash, the toolmakers will be going to work. Even without syntax improvements, we should see a lot of tooling improvements - however, until there's more to grasp onto, I think there will always be a ceiling on feasible tooling for an arbitrary codebase. - Russ _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

