Legacy Code Workshop
Working for over a year with the legacy code.
How to improve:
Whenever there is a change needed
- We should write a test for the code to be changed
- Refactor the code
- Fix the code and make sure nothing is broken and the test still passes
By time~ we will have many test cases running in the legacy code and this will help us a lot for future changes.