Skip to content

Files

Latest commit

 

History

History
7 lines (4 loc) · 218 Bytes

misplaced-comparison-constant.md

File metadata and controls

7 lines (4 loc) · 218 Bytes

Pattern: Misplaced comparison constant

Issue: -

Description

Used when the constant is placed on the left side of a comparison. It is usually clearer in intent to place it in the right hand side of the comparison.