- Day 1: Too many parameters...
- Fight primitive obsession
Introduce Parameter Object
- Automated Refactoring
- Day 13: Refactor your code with the Mikado method.
Mikado Method
- Scratch Refactoring
- Day 16: Bug bounty.
- Bug Bounty
- Reproduce bug with tests
- Use
AI
to find bugs
- Day 19: Performance...
- Performance measurement
- Benchmark an algorithm
- Use
performance as a refactoring driver
- Day 21: Safely refactor the
TourCalculator
.- Use
Property-Based Testing
to ensuref(x) == new_f(x)
- Refactor to
pure function
- Use
- Day 23: Emergency before Christmas.
- Code Smell identification and Refactoring
- Make the code more robust with T.D.D and Monads
- Day 24 - Make yourself indispensable.
- Crappy-Driven Development
- Test && Commit || Revert
- Crappy && Commit || Revert