Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Branch a code quality #3

Merged
merged 2 commits into from
Feb 12, 2023
Merged

Branch a code quality #3

merged 2 commits into from
Feb 12, 2023

Conversation

randallnhr
Copy link
Owner

No description provided.

There are several methods that use complicated expressions.

`mark`, `unmark`, `deadline` and `delete` methods in Parser class has 2
checks in an if condition.
Abstracted the checks to 2 variables to enhance readability.

`event` method in the Parser class has 3 checks in the if condition.
Abstracted the checks to 3 variables to enhance readability.

As a step forward, let's abstract complicated checks in the conditions.
@randallnhr randallnhr merged commit c21cf25 into master Feb 12, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant