News for hackers. Stuff that matters.
Re:Node v8.5.0 by batmansmk on Wednesday September 13, 2017 @11:04AM (#15238916)
"Import" was already decided to help the parser performing static analysis versus "require". Now "mjs" is introduced to make detecting if we are in front of a commonjs or module "faster". I'm sure the people who decided this are very bright, but the main goal was how to be nice with v8, and not how to be easy for developers.

Changing from js to ts is an inconvenience sufficiently big enough to adopt flowtype instead.

There are no comments on this comment yet.