Skip to content

Simplify chained comparisons#219

Closed
tygyh wants to merge 1 commit into
agentmorris:mainfrom
tygyh:Simplify-chained-comparisons
Closed

Simplify chained comparisons#219
tygyh wants to merge 1 commit into
agentmorris:mainfrom
tygyh:Simplify-chained-comparisons

Conversation

@tygyh
Copy link
Copy Markdown
Contributor

@tygyh tygyh commented May 22, 2026

A nice language feature for handling chained comparisons

@tygyh tygyh force-pushed the Simplify-chained-comparisons branch from e1a4732 to 6dc7bb2 Compare May 22, 2026 17:13
@agentmorris
Copy link
Copy Markdown
Owner

Unlike yesterday when I said I preferred a different coding convention but actually hadn't read your PR correctly, this time I actually just prefer a different coding convention. I find chained comparisons less readable, and in fact prefer comprehensive parens in most cases. To each their own.

So, closing without merging, but thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants