ModuleImport
Bruno Jouhier
bjouhier at gmail.com
Sun Jun 29 10:44:48 PDT 2014
2014-06-29 0:58 GMT+02:00 Kevin Smith <zenparsing at gmail.com>:
> Static checking will be limited anyway. If you want to go this way you
>> should use typescript.
>>
>>
> That's the point that I'm trying to make, shops will choose other
> languages that provide more static information. We should be thinking
> about expanding the user base and ensuring that JS is a viable option years
> down the road.
>
>
>> CommonJS falls a bit short on the import side because static analysis of
>> require calls is brittle. A special language syntax would enable a robust
>> static analysis of dependencies.
>>
>
> If you don't have static exports, then how are you going to know if what
> you import is valid? You can't, without executing the program.
>
> M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140629/555b777e/attachment.html>
More information about the es-discuss
mailing list