-
Notifications
You must be signed in to change notification settings - Fork 108
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
We are blocking future possibility by allowing decorators before export
#503
Comments
As noted in the other thread, this issue has been settled. Everything you noted in your comment was discussed explicitly in plenary, read the notes if you want to see what the details were and why the decision was made. I will be closing this duplicate, please don't reopen. |
As I noted in the update:
|
@trusktr no delegates wish to change this at this time. If that changes and a delegate decides that they want to reopen this issue, I will let it be reopened. Delegates are aware that the community remains divided on the issue. If you read the notes, you will find that several delegates have stated they would explicitly block decorating of exports from ever being included in the language. We use the issue tracker to keep track of open discussions and issues remaining with the spec, so it's not productive to have old issues open for matters that have been settled. |
(Also, Object.observe was at stage 2, not 3) |
Ah, I mis-remembered. It was implemented in various polyfills and far more used than the current stage 3 decorators have been at this point. So it was like a stage 3 thing in practice. It is all relative, and quite a lot of subjective emotion involved (not a bad thing per se, but perhaps really ponder the future possibility of things like |
@trusktr the possibility has been explored. The objectors had two main reasons for rejecting the idea:
Please read the plenary notes for more details, this discussion should be captured in them, and it would probably be best to read them before continuing the conversation here. |
I don't see how Edit: sorry I missed the assignment from another module in the example. That would be a change to module semantics, which is completely out of scope for decorators, and I believe would never make it through committee. And the fact I read it as decorating the binding shows it would be a bad idea to allow it to mean something else. |
Continued from #69 (comment)
If
Object.observe
can be removed at stage 3, then technically there is still room for change, and hence worth posting this issue.The text was updated successfully, but these errors were encountered: