Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75900
| Date | 2014-08-08 13:08 -0500 |
|---|---|
| Subject | Comparisons of Python's module/import system with JavaScript? |
| From | Skip Montanaro <skip@pobox.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12757.1407521311.18130.python-list@python.org> (permalink) |
I'm struggling with some JavaScript issues related to it's lack of good support for modules. I know RequireJS exists (and appears to be the most widely used add-on for this stuff), but as a novice JS programmer, I'm having trouble wrapping my head around just what it does. In particular, I don't see how it injects names into the scope which calls require(). I'm hoping someone here understands both the Python and JS models (preferably as represented by RequireJS) and can provide some advice, perhaps a pointer to a blog post? I've not found anything yet. Thanks Skip
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Comparisons of Python's module/import system with JavaScript? Skip Montanaro <skip@pobox.com> - 2014-08-08 13:08 -0500
csiph-web