On Fri, Jun 27, 2014 at 10:11 AM, Kevin Smith <[email protected]> wrote:
>
>>
>> var mkdirp = require('mkdirp');
>>
>
> Exactly. In ES, you would see this:
>
> import { mkdrip } from "mkdirp";
>
> Python has a somewhat similar module system, and import-renaming is the
> exception, not the rule. Also, I've never heard anyone complain about
> having to know the name of a module member. In fact, specifying the
> exported name is essential for tracing out a code base that you're
> unfamiliar with.
>
>
Haha, yes, you and I seem to be sharing a brain on this, I sent early and
you wrote most of what I wrote. I still like curly-free, but that's
bikeshedding to me. The important point is removing default exports.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss