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

Suggestion : myvar+1 / myvar++ #252

Open
em00k opened this issue Dec 10, 2019 · 1 comment
Open

Suggestion : myvar+1 / myvar++ #252

em00k opened this issue Dec 10, 2019 · 1 comment

Comments

@em00k
Copy link

em00k commented Dec 10, 2019

it would be nice if myvar=myvar+1 could be expressed in a shorter way:

myvar+1
or
myvar++
or
Inc myvar

As when strings names are large doing simple increments can start to look messy and I am very lazy.

:)

@boriel
Copy link
Collaborator

boriel commented Dec 10, 2019

I think
myvar += 1 is the good one (as in Python, C, etc...)

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