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 variable names #119

Merged
merged 2 commits into from
Jan 15, 2023
Merged

Improve variable names #119

merged 2 commits into from
Jan 15, 2023

Conversation

EdJoPaTo
Copy link
Contributor

In #105 and #108 there are some minor improvements to variable names which are worth to be added on their own.

Thanks to @autoantwort and @johndoe8967 for noticing them!

In regards to the enableDebuggingMessages method which currently sets a variable named _enableSerialLogs: I think it's better to name the internal variable the same as the method to keep the complexity lower.

I also noticed a typo in a comment which was describing the exact same thing as the method name so I just removed the comment rather than fixing the typo.

the function name already describes what is done
@plapointe6 plapointe6 merged commit 080c73b into plapointe6:master Jan 15, 2023
@EdJoPaTo EdJoPaTo deleted the rename-variables branch January 16, 2023 12:54
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