I think the code specification is required

Source: Internet
Author: User

I think the code specification is required. Code specification can be convenient for us to check and modify. Because the format statements are norms of their own easy to find, but also good change. And now most are written by themselves, if the group to do something, or work a team together to do the project, code norms are more heavy, if there is no specification, everyone in accordance with their own custom style or the mood at the time of writing, a team is difficult to be efficient, but also for everyone to bring trouble and inconvenience. So everyone in accordance with the principle of unification, according to the standard writing is very easy to cooperate.

1, these norms are the bureaucratic system produced by wasting everyone's time, affecting the development of people's efficiency, waste of time things.

Objection: I disagree with this view. Requiring code specifications seems to bind the programmer, making people feel like bureaucracy, binding, redundant, and useless. But I think the people who hold this idea have no long-term vision. First of all, I think code norms do not give people a binding, like in life to develop good habits, will not affect the normal life, will not affect your poetry and distance, code norms will not affect people's creativity, ideas, should be accustomed to. And it will improve efficiency and save time. In the team cooperation embodied in particularly obvious, everyone in accordance with the uniform norms to write things, everyone can easily read, add, delete, modify will be a lot easier.

2, I am an artist, craftsman, I have their own norms and principles.

Support: no rules inadequate surrounding area, there are rules for what, programmers also. The code specification makes it very enjoyable for peers to see the code of the specification and to appreciate it. Just like an artist, a craftsman makes a work of art, the mood is pleasant and bright.

3, the norms can not be forced to all, should allow a lot of exceptions.

objection: should not be forced to all, the exception is also allowed to exist, but can not have many exceptions. I think code norms are like grammar, and if there is no rhyme or phrase, it is very difficult for others to understand, and the same code makes partner easy to understand. The visible code specification is really important.

4, I am good at coding specifications, you listen to me just fine .

I think that in the group need a leader who has this kind of talk, perhaps the most prominent, perhaps the leader, but not arbitrary, because people will have to consider the whole time, so, the norm is also to listen to others reasonable and correct advice.

I think the code specification is required

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.