Rebuild reading experience and recent work

Source: Internet
Author: User

Refactoring-improving the design of existing code-this book was bought half a year ago and has been placed on the company's desk. It's just half a year. It's really a sin to think about it now.

It took so long to read it. On the one hand, it was lazy and neglected. Another major reason is that this book is too theoretical and somewhat out of reality. However, after I actually read it, I found that this book was not as theoretical as I thought, and its operability was still very strong.

The reason why I really started reading was the drive of my work, because the previous work was to restructure an existing project, and I also participated in the design and development of the existing project. Due to the time constraints of the previous project, there are many problems in both design and coding, which is a good reconstruction goal. Now, I really want to thank the supervisor for giving me the opportunity to host this restructuring job.

Back to this book, this book is obviously not just writtenProgramHowever, this does not mean that beginners cannot absorb nutrition from the book, but they will make some discounts. Because it is impossible for beginners to fully understand all refactoring strategies, but they can learn a lot.CodeFor example, do not use a function that is too long, break it down, or introduce too many temporary variables.

If you have learned the design model and have good project/coding experience, you can absorb more nutrition from this book, and the reading difficulty will be much lower, of course, this book is very attractive.

With the reading of this book and the Development of reconstruction work in the project, I will learn more about the small methods mentioned in the book: these small methods do not seem to allow me to see farther, and cannot help me design, however, when you follow the specifications, you will find that you see more clearly, see farther, and the design will follow.

With the development of the reconstruction work, there is also a deeper experience, that is, many designs are not just imagined at the beginning of the project, but are gradually restructured and reconstructed, I believe it even more deeply, as if I have seen it here.

Another plug-in vs is very useful, coderush + refactor. Of course, resharper is also good. I use CR To Help Me refactor.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.