What I would like to share is that many times I ended up with a recursive mess of refactoring steps that I did not understand anymore. I was trying to do too much, too fast, too deep at once. And I could not back-track.
That having been the case, I would like to recommend the following:
Especially for the last point, but also aiding the others, I would recommend you use git & branches. Open a branch for your refactoring activities, commit as soon as you are happy with your refactoring step. If you land in a "blind alley" you will be able to go back.
Hope that helps, and have fun! Refactoring can be a very rewarding activity.
All great points! I completely agree
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.