Rationale for dropping ModuleImport syntax?
domenic at domenicdenicola.com
Wed Jun 11 13:39:03 PDT 2014
From: es-discuss <es-discuss-bounces at mozilla.org> on behalf of Matthew Robb <matthewwrobb at gmail.com>
> Transpile aside, I don't want that performance concern. Most of the time I want a real solid reference and the only way to get it as the spec stands is to import something and then cache it locally. Isn't that kind of crazy?
I don't know what performance concern you're referring to (probably a transpiler-only thing). But yes, I agree that it's crazy that you can't get solid references that you control (instead of aliasing bindings that the model author controls) without such shenanigans. I brought up that point [a long time ago](http://esdiscuss.org/topic/import-and-aliasing-bindings), and was told that we wanted to follow Scheme and ML instead of existing JS module systems. Which goes back to my "frankly confounding" comment from earlier...
More information about the es-discuss