A Variation on ES Modules

Russell Leggett russell.leggett at gmail.com
Wed Dec 19 09:27:41 PST 2012

I will admit - this seems very readable to me, and I don't feel like I have
a lot of questions about edge cases. I would be pretty satisfied with it.

This might be a bit of a tangent, but there is something else that's been
bugging me. It's almost 2013 now, and we're fill in the gaps for ES to be
ready for large projects etc. The modules syntax/functionality seems
fine... but I wonder if its just playing catch up or if its actually taking
the opportunity to be the best it can be. Specifically, I'm wondering about
the modularity question. I understand that with ES being so dynamic it's a
lot easier to create mocks for testings, etc. but with static modules,
don't we run the risk of having the same problems as Java and needing some
kind of dependency injection? Maybe I'm just worried for no reason, just
thought I would throw it out there.

- Russ

On Wed, Dec 19, 2012 at 10:24 AM, Kevin Smith <khs4473 at gmail.com> wrote:

> I've worked up a concrete variation on the modules syntax:
> https://gist.github.com/4337062
> I believe that it presents a clean, simple model and coding experience.
>  Comments welcome!
> - Kevin
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121219/00a27102/attachment.html>

More information about the es-discuss mailing list