Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75900 > unrolled thread
| Started by | Skip Montanaro <skip@pobox.com> |
|---|---|
| First post | 2014-08-08 13:08 -0500 |
| Last post | 2014-08-08 13:08 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Comparisons of Python's module/import system with JavaScript? Skip Montanaro <skip@pobox.com> - 2014-08-08 13:08 -0500
| From | Skip Montanaro <skip@pobox.com> |
|---|---|
| Date | 2014-08-08 13:08 -0500 |
| Subject | Comparisons of Python's module/import system with JavaScript? |
| Message-ID | <mailman.12757.1407521311.18130.python-list@python.org> |
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 top | Article view | comp.lang.python
csiph-web