News for hackers. Stuff that matters.
Re:ES6, ES7, and beyond by grifter2000 on Friday April 29, 2016 @05:57PM (#11599034)
PLEASE don't do the awkward .mjs thing. I and prob most devs will simply not respect it.
Re:ES6, ES7, and beyond by stupidcar on Friday April 29, 2016 @06:01PM (#11599053)
That's up to the Node.js team, not the V8 team, right?

But yes, Node.js team, please don't inflict .mjs on us, or let your extreme NIH block the introduction of ES2015 modules.

Re:ES6, ES7, and beyond by grifter2000 on Friday April 29, 2016 @07:36PM (#11599436)
Right, thank you
Re:ES6, ES7, and beyond by tracker1 on Friday April 29, 2016 @07:07PM (#11599313)
https://github.com/dherman/defense-of-dot-js/blob/master/pro...

Though there may need to be some considerations for `exports`/`module.exports` vs the `export` directive.

Re:ES6, ES7, and beyond by pornel on Friday April 29, 2016 @08:39PM (#11599693)
.es sounds good to me.

Seems like a good fit for EcmaScript. It might even help finally renaming the language, so that tech recruiters confuse it with something else ;)

Re:ES6, ES7, and beyond by KMag on Saturday April 30, 2016 @12:52AM (#11600424)
> so that tech recruiters confuse it with something else

At least if a recruiter starts asking you about your Eczema experience, you can more easily determine that the screening process has gone off the rails.

Re:ES6, ES7, and beyond by inglor on Saturday April 30, 2016 @01:19PM (#11602542)
That would be incorrect though, there are other implementations of the ES specification that are not JavaScript (UnityScript for example).

Although it's a cute suggestion.

Re:ES6, ES7, and beyond by greggman on Saturday April 30, 2016 @02:03PM (#11602747)
WAT? UnityScript is not an implementation of ES AFAICT. It's entirely made up by Unity and has almost nothing in common with JavaScript/EMCAScript
Re:ES6, ES7, and beyond by ihsw on Friday April 29, 2016 @06:21PM (#11599132)
.js, .jsx, .mjs, what's next? .js8?
Re:ES6, ES7, and beyond by zghst on Saturday April 30, 2016 @02:58PM (#11603030)
Exactly why we should avoid more extensions. I don't see what's wrong with a config, either package.json or System.global
Re:ES6, ES7, and beyond by inglor on Saturday April 30, 2016 @12:15PM (#11602270)
Node is an open project - why not argue against it there?