Re:The Future of JavaScript
by RobertWHurst on Monday February 20, 2012 @11:11PM
(#3615186)
I don't think you get it. The right way to require a module in commonjs is var baz = require('baz'). The reason its better is because I can accomplish just as much as the ridiculous ES6 modules and its simple. We don't need to add complexity if it doesn't get us anywhere. I'm not convinced that static analysis is worth it. Existing module systems work just fine without this shit.
[ Parent
| on HN ]
There are no comments on this comment yet.