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

Improve naming for min/max for loops #24

Merged
merged 2 commits into from
Jan 14, 2024
Merged

Conversation

Machine-Maker
Copy link
Member

The getMin.../getMax... methods made loop variables named poorly, as it should not include the min or max part in the name since it is being incremented. This detects if a getMin and getMax call are on the same line, which means they are most likely part of a for loop. If there is a better way to detect that, I can change it.

@MiniDigger MiniDigger merged commit 8e81698 into main Jan 14, 2024
2 checks passed
@MiniDigger MiniDigger deleted the improve-min-max-loops branch January 14, 2024 20:04
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.

2 participants