Describe base code layout rules#15696
Merged
Merged
Conversation
jeremyevans
reviewed
Dec 22, 2025
jeremyevans
left a comment
Contributor
There was a problem hiding this comment.
Thank you for working on this. I agree that this information is helpful to document. Only a few minor suggestions.
jeremyevans
approved these changes
Dec 23, 2025
jeremyevans
left a comment
Contributor
There was a problem hiding this comment.
Thank you. This seems good for release. I'm fine with raising this issue after the 4.0 release to see how Matz and other developers want to document these operators.
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.
While trying to refer to the change of rules for line breaks before the boolean operators, I suddenly discovered that there is no place in docs that describes any line breaking rules. Or maybe I am missing something!
So I tried to sketch a small(ish) document about all that. I contemplated adding something about indentation, too, but for now, I think that the current form of the document might already be helpful?..