This commit is contained in:
Dobromir Popov
2026-06-28 23:49:11 +03:00
commit 0f24a1d4f9
103 changed files with 5178 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# Refactor Candidates
After TDD cycle, look for:
- **Duplication** → Extract function/class
- **Long methods** → Break into private helpers (keep tests on public interface)
- **Shallow modules** → Combine or deepen
- **Feature envy** → Move logic to where data lives
- **Primitive obsession** → Introduce value objects
- **Existing code** the new code reveals as problematic