14 ms·
JSON stands for JavaScript Object Notation , not Python Object Notation. Furthermore "require" is "proprietary" to nodejs, ES2015 has a different module system
by aikah 11y ago
JSON stands for JavaScript Object Notation , not Python Object Notation. Furthermore "require" is "proprietary" to nodejs, ES2015 has a different module system and it will be the official js module system.
- BinaryIdiot 11y agoYeah, and? I'm not sure what you were trying to get at but I never said anything to the contrary to this and I mentioned I've done lots of JavaScript dev so this isn't anything new.
- russjr08 11y ago> JSON stands for JavaScript Object Notation , not Python Object Notation. That does not mean it shouldn't be used anywhere else.
- alexwebb2 11y agoThe require() function was actually part of the old CommonJS standard: http://wiki.commonjs.org/wiki/Modules/1.1 http://wiki.commonjs.org/wiki/Modules/1.1 node was originally an implementation of it before eclipsing it. Between the original advocacy by CommonJS and the rising popularity of node, browserify, and Webpack, things like require() leaked out to become the pre-ES2015 de facto standard for importing modules. require() is so widespread now, and the transform to the ES2015 syntax so trivial, that it's not going away anytime soon.