Refactor 80-20 Rule
From our experience, we've learned that 80% of the value in refactoring comes from improving the readability and understandability of code. The remaining 20% comes from design changes. We will thus focus on the first 80%.
Once we are comfortable with basic refactoring movements and choreographies, it is time to apply this new practice to code. In the refactoring golf exercise, we were given a starting point and an end point. In a real refactoring session, the endpoint is an imaginary point.
We created a checklist to help you approach refactoring code. It includes rules, tips, and a sequence we can follow. As always, once we get more proficient with our refactoring and design skills, we can leave this list behind us.