1、
2、
3、
4、
5、
6、
7、
8、
9、
记录一段不错的话:
Broadly, refactoring is not a means to increase performance, but to improve readability and maintainability of a code base. (Which may then help you make optimizations and architectural changes with more confidence and ease.)
重构一般来说不是为了提高性能,而是提高可读性和可维护型,能够帮助你更容易的进行后期优化和架构修订