fix contradictory example in Conditionals#20
Open
mkolodny wants to merge 1 commit intopolarmobile:masterfrom
Open
fix contradictory example in Conditionals#20mkolodny wants to merge 1 commit intopolarmobile:masterfrom
mkolodny wants to merge 1 commit intopolarmobile:masterfrom
Conversation
Member
|
I think what the first sentence is referring to are statements like these, where the # Yes
go() unless stop
# No
go() if not stopSo the sentence could read instead: Favor This does contradict the next sentence about In postfix form, favor This should preserve the original meaning and be less ambiguous. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The example in the Conditionals section shows that
if...elseshould be preferred overunless...elsefor negative conditions. Yet the description above the example says the opposite.This removes the contradiction so that
if...elseis preferred in both the description and the example.