Skip to content
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

cs3 Discussion : use new file suffix .cs3 , and change for ... of / for ... in / for ... from to the same semantic as es6 #5221

Closed
zsp042 opened this issue Jul 17, 2019 · 1 comment

Comments

@zsp042
Copy link

zsp042 commented Jul 17, 2019

Use new file suffix .cs3 , and change for ... of / for ... in / for ... from to the same semantic as es6 .

The semantics now are one patch after another, which is confusing

@GeoffreyBooth
Copy link
Collaborator

This came up when from was introduced, and when CoffeeScript 2 was designed. At the time it wasn’t judged worth the confusion of breaking existing code (and all the documentation around the Web for those meanings). It’s unfortunate that CoffeeScript and JavaScript differ in this regard, but I don’t think it’s worth changing at this point. If/when there is ever serious discussion around a potential CoffeeScript 3, we can revisit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants