Skip to content

Modernisation 14 - no assign in expressions#813

Merged
cressie176 merged 1 commit intomainfrom
amqplib-modernisation-14-noAssignInExpressions
Mar 28, 2026
Merged

Modernisation 14 - no assign in expressions#813
cressie176 merged 1 commit intomainfrom
amqplib-modernisation-14-noAssignInExpressions

Conversation

@cressie176
Copy link
Copy Markdown
Collaborator

Remove assignments from conditional expressions to improve code clarity and readability. Patterns like while((x = y)) have been refactored to separate assignment from conditional logic using do...while loops or explicit assignments.

🤖 Generated with Claude Code

Remove assignments from conditional expressions to improve code clarity
and readability. Patterns like while((x = y)) have been refactored to
separate assignment from conditional logic using do...while loops or
explicit assignments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@cressie176 cressie176 changed the base branch from amqplib-modernisation-13-noRedundantUseStrict to main March 28, 2026 10:29
@cressie176 cressie176 merged commit d763739 into main Mar 28, 2026
@cressie176 cressie176 deleted the amqplib-modernisation-14-noAssignInExpressions branch March 28, 2026 14:37
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.

1 participant