Situation: Your team’s codebase contains an anti-pattern


Situation: Your team’s codebase contains an anti-pattern.

How do you keep the anti-pattern from spreading?

My approach:
1. Fix all spots
2. Educate the team
3. Enforce via a linter/code review

Other ideas?

View original on X