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

remove named booleans on cardinality comparisons #44

Merged
merged 1 commit into from
Oct 28, 2022
Merged

Conversation

kubikowski
Copy link
Owner

While I will admit that the booleans names were remarkably clear, they were in no way concise. And I found that the resulting code was overall less legible at a glance. So I have removed the named booleans in favor of inlining their cardinalities.every() in the respective if statements.

@kubikowski kubikowski added type: Refactor just cleaning code: TypeScript changes to the typescript project labels Oct 28, 2022
@kubikowski kubikowski added this to the v1.5.0 milestone Oct 28, 2022
@kubikowski kubikowski self-assigned this Oct 28, 2022
@kubikowski kubikowski merged commit 3de18d9 into main Oct 28, 2022
@kubikowski kubikowski deleted the comparisons branch October 28, 2022 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code: TypeScript changes to the typescript project type: Refactor just cleaning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant