-
Notifications
You must be signed in to change notification settings - Fork 46
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
Clarify boolean comparison #103
Conversation
Codecov Report
@@ Coverage Diff @@
## master #103 +/- ##
==========================================
+ Coverage 82.75% 82.76% +0.01%
==========================================
Files 12 12
Lines 1461 1462 +1
==========================================
+ Hits 1209 1210 +1
Misses 252 252
Continue to review full report at Codecov.
|
Hmm, |
I can see how that would be confusing, thanks for doing this! If I can presume on your time a bit more, I think it would be worth adding a comment above that said of operations saying |
You're welcome. I think it is cool to see that even 8 years old code can be changed (8 years according to git blame). According to Lehman, these changes are necessary: "[T]he quality of an E-type system [software performing a real-world activity] will appear to be declining unless it is rigorously maintained and adapted to operational environment changes". I have tried to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right. The way you have it now bothers some "don't repeat code" aesthetic, but I agree that it's probably clearest this way, and simple enough that it's not likely to cause problems.
Not sure why travis is still trying to fire after we moved to github CI - everything is passing here. |
Agreed about the DRY. Anyway, thanks for merging 👍 😄 |
This is a bit confusing for readers (or, at least to me):