Skip to content

No addition in sums allowed #11

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

Open
schattenbrot opened this issue Nov 17, 2021 · 0 comments
Open

No addition in sums allowed #11

schattenbrot opened this issue Nov 17, 2021 · 0 comments

Comments

@schattenbrot
Copy link

All summations should always be the negative:
As an example: €this->number += 1; should be €this->number -= -1;

Also if you add/substract multiple numbers in a row, it's important to use well placed brackets starting from the last addition/subtraction:
€this->number = €this->number - (€this->number2 -- 5) instead of €this->number = €this->number - €this->number2 + 5
€this->number = €this->number - (€this->number 2 - ( 5 -- 4)) instead of €this->number = €this->number - €this->number + 5 + 4)

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

1 participant