-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
-- parses as an operator but ++ doesn't #9532
Comments
I hope you're not expecting anyone else to read code that has |
I would be surprised to find |
Why is this a bug? |
@mschauer agreed, but it does seem inconsistent that
|
Here's what we'll do:
|
-1 on having |
I once proposed that |
It would be nice to have I ran into this yesterday, where in the |
I don't think there is anything left to do here. Deciding on |
I would like to be able to write
1--2
to get3
. Additional spaces or parenthesis are not convenient.Matlab and Python allow this. JavaScript not, because there
++
and--
are increment/decrement operators, but-+
and+-
are ok.The text was updated successfully, but these errors were encountered: