New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reversed order of `import` and `from` #906

Closed
n-sviridenko opened this Issue Apr 28, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@n-sviridenko

n-sviridenko commented Apr 28, 2017

Why not to be able to write from and just after import, like in python? It will allow to implement an autocompletion for exported members of specified package.

@leobalter

This comment has been minimized.

Show comment
Hide comment
@leobalter

leobalter Apr 28, 2017

Member

To get a complete answer for your question you will need to catch up with years of discussions on the syntax. You can check it in the meeting notes https://github.com/rwaldron/tc39-notes and esdiscuss.org as well..

Based on your question, it seems like autocompletion is the only argument for a different order, but a lot of other syntactical reasonings are in game to match this current way.

In any other way, this is already specified and released 2 years ago, I don't think it's worth changing that neither this would have any consensus from the parties involved.

esdiscuss should be the right channel to keep this conversation, so I'm closing this one here.

Member

leobalter commented Apr 28, 2017

To get a complete answer for your question you will need to catch up with years of discussions on the syntax. You can check it in the meeting notes https://github.com/rwaldron/tc39-notes and esdiscuss.org as well..

Based on your question, it seems like autocompletion is the only argument for a different order, but a lot of other syntactical reasonings are in game to match this current way.

In any other way, this is already specified and released 2 years ago, I don't think it's worth changing that neither this would have any consensus from the parties involved.

esdiscuss should be the right channel to keep this conversation, so I'm closing this one here.

@leobalter leobalter closed this Apr 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment