Why this matters
Improves readability and reduces misunderstandings.
Prefer intent-revealing names over cryptic abbreviations.
Improves readability and reduces misunderstandings.
Side-by-side examples engineers can pattern-match during review.
r = Repo.new(u)report = ReportBuilder.new(user)c = calc(x)count = calculate_total(x)From the same buckets as this rule.
Check if loops use equality operators (== or !=) in termination conditions. These can lead to infinite loops if the condition is never met exactly. Instead, use relational operators like < or > for safer loop termination.