3 ms·
1) Cover code with tests 2) Refactor. Martin Fowler wrote a famous book on refactoring patterns that are guaranteed to merely transform the code and not break f
by lectrick 11y ago
1) Cover code with tests
2) Refactor. Martin Fowler wrote a famous book on refactoring patterns that are guaranteed to merely transform the code and not break functionality.
3) Rerun tests, repeat till everything passes