Why this matters
Avoids accidental overrides and confusion.
Do not define the same method multiple times; consolidate behavior in one place.
Avoids accidental overrides and confusion.
Side-by-side examples engineers can pattern-match during review.
def total; a + b; end
# later
def total; a + b + c; enddef total; a + b + (c || 0); endmethod redefined in same classsingle definition with clear logicFrom the same buckets as this rule.