> However, I agree that the destructuring syntax for module imports may not
> be the clearest choice in terms of raising the right expectations. (As we
> have discovered already, it has other issues, namely people confusing the
> direction of renaming.) Maybe it is a bit too clever, and considering
> alternatives a worthwhile idea.
>

There's this:

    import x as y, a as b from "url";

But I find that much less readable than:

    import { x: y, a: b } from "url";

Destructuring syntax is what it is.  Developers just need to start reading
it the right way.

{ Kevin }
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to