Cool For programmers-development specifications

Source: Internet
Author: User
Tags comparison table
1. Background

It is inevitable to name functions and variables when writing code. Naming is often difficult and an important topic of development specifications. The old man has been on the road for many years, and many of the development specifications are outdated.

2 unexpected gains

Today, net development specifications are newly released, which is of great guiding significance. Although C # development is mentioned in this Article, it still has enough utility for Java and Js.

Http://www.cnblogs.com/luzhihua55/p/CodeConvention7.html

3 disagree

However, some of the content in this article is not recognized by the old man. For example, 2 and 4, the two numbers correspond to and for, and should be common sense, rather than show off.

4 unsolved

The naming of professional terms is still difficult, such as the daily power generation and distribution plan of power plants. Currently, there are several naming cases, but the results are not good.

A name

The name is too long.

B Chinese name

The pure net environment is still usable, but Java ide does not seem to support it, which may cause compatibility and deployment problems.

C pinyin full writing

Too long, and some people are not standard Mandarin

D. First Letter of Pinyin

It's hard to understand. The name is given to another project team.Difficult to migrate to QingtianBut most of us currently use this method

E code name

Provide a brief code for all words. For example, A01 indicates the ID card number, B01 indicates the pension base, and AB indicates the missile front-end fuze.

5. Suggestions

For the naming of professional terms, the professional vocabulary of Chinese is compiled by the requirement personnel, and then the designer uniformly names the vocabulary table to form a comparison table. For long-term projects, you can use the code naming method; for short-term projects, you can use all pinyin. The table needs to be reviewed by a meeting to ensure that everyone can understand the table. Do not have a uniform prefix for naming, in case that developers need to enter too much content before the IDE code prompts can play a role.

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.