Recently, I read the book "Refactoring" translated by Mr. Xiong, and there are many good ways to make the code more beautiful.
Here I will record every bit of the reading process.
1. The first step of refactoring: Establish a set of reliable test environments for the code that needs to be refactored.