Simple tips for refactoring
- Don't refactor and add functionality at the same time.
- Make sure you have good tests first. Run them often while refactoring.
- Take short, deliberate steps. Good commit messages are helpful here too.
[[refactoring]]
[[testing]]