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

increment and decrement #298

Open
premek opened this issue Oct 10, 2016 · 5 comments
Open

increment and decrement #298

premek opened this issue Oct 10, 2016 · 5 comments

Comments

@premek
Copy link

premek commented Oct 10, 2016

Adding i++ would be nice but i-- probably collides with a syntax for comment?

@leafo
Copy link
Owner

leafo commented Oct 10, 2016

The reason why it doesn't exist is because of the comment syntax. It's unlikely I'll add it.

@RyanSquared
Copy link
Contributor

A thought: use // to lead comments and _/ for floor division, then you can use ++ etc

@RyanSquared
Copy link
Contributor

^ that's how I'm implementing it in FusionScript actually, as a note.

@leafo
Copy link
Owner

leafo commented Oct 11, 2016

I won't be changing syntax for something as common as comments at this point

@itsMapleLeaf
Copy link

It's hardly shorter than i += 1 anyway.

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

4 participants