Initial commit

This commit is contained in:
Matt Pocock 2026-02-03 11:15:48 +00:00
commit 985d8fce76
10 changed files with 553 additions and 0 deletions

10
tdd/refactoring.md Normal file
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