Imagine this code to be a part of a larger code base.
- Put the legacy code under test.
- Refactor applying the Tell-Don't-Ask principle.
#LegacyCode, #RefactoringKata, #TellDontAsk
Imagine this code to be a part of a larger code base.
#LegacyCode, #RefactoringKata, #TellDontAsk