Modern software engineering fifth week work

Source: Internet
Author: User

We often complain that it is difficult to read other people's code, and when we write the code ourselves, do we consider how to make the code easier to read and maintain?

We should consider how to make the code easy to read, like the dialects of different regions, the local people feel easy to understand, but outsiders often do not know its cloud, in order to let everyone can communicate, only the production of Putonghua. So code writing should also have a relative standard to facilitate reading for yourself and others.

The ease of maintenance of the code should be considered. When we start writing code, we usually don't take all the functions into account, which requires the continual modification of the latter. If our code is not easy to maintain at this point, it can cause a lot of trouble, and it may end up needing to be rewritten by throwing away the existing code. In the code before the need to consider these issues, can refer to the following aspects: the general direction of the modular design, medium-oriented design patterns, the details of multi-annotations, pay attention to variable naming and so on.

Modern software engineering fifth week work

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.