Assignment
Find a piece of code you want to improve. Follow the process outlined in this chapter to:
- Identify the problems. What problems do you see?
- Add tests and de-risk changes.
- Implement the changes and improve maintainability.
If you don’t have a piece of code you want to improve, try using the code from this chapter or the code from the Kata (Gilded Rose) GitHub page: https://github.com/emilybache/GildedRose-Refactoring-Kata.