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

Replacing assignments with augmented assignments #51

Merged
merged 1 commit into from
Apr 27, 2022
Merged

Replacing assignments with augmented assignments #51

merged 1 commit into from
Apr 27, 2022

Conversation

ThibFrgsGmz
Copy link
Contributor

Originating Project/Creator
Affected Component
Affected Architectures(s)
Related Issue(s)
Has Unit Tests (y/n)
Builds Without Errors (y/n)
Unit Tests Pass (y/n)
Documentation Included (y/n)

Change Description

  • Replaces assignments x = x + y with augmented assignments x += y

Rationale

The new code is a bit shorter and easier to read because we don't have to think twice about the "count" variable.

Testing/Review Recommendations

Future Work

@LeStarch LeStarch merged commit f4e515a into nasa:devel Apr 27, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants