Alibabacloud.com offers a wide variety of articles about difference between camel case and pascal case, easily find your difference between camel case and pascal case information here online.
ArticleDirectory
1.10 database naming
1. Naming Conventions Pascal and camel naming conventions There are two naming methods for programming: Pascal and camel (Pascal: the first letter of each word is capitalized, for example,
You don't have to work overtime today. Come back to watch movies and listen to songs. A long-planned blog has finally ushered in the first meaningful article today. I have read some articles on the Internet, but I am not writing well. I will try
1. IndentUsing a unified indentation style is important, and proper indentation can improve the readability of your code.(1) Indent with tabsEach indentation level is represented by a separate tab (tab character), one indent level is a tab, and two
1. DefinitionPascal capital-one case in which all words are in the upper case of the first letter and the other letters are in the lower case.Camel capital-a case-sensitive form. Except the first word, the first letter and other letters of all words
Pascal spelling (also called the big camel spelling) is a variable naming method in computer programming. It is mainly used to uppercase the first letter of all words used by the descriptive variable, and then directly connects them. There is no
Good naming rules can contribute to the Cooperative Development of teams, and play a crucial role in both project development and product maintenance. It should be said that naming conventions are a convention and a bridge of good communication
Initialization and scope of variables
Initialization
C # has two methods to ensure that variables are initialized before they are used:
Variables are fields that, if not explicitly initialized, have a default value of 0 when these
B.1 IndentBecause the deep function nesting is easy to write in the node. JS code, too many spaces are inconvenient for reading, so we choose two spaces to indentB.2 Line widthTo make sure that it is easy to read on any device, we recommend limiting
I. BASIC format
Indent inRecommended 4 spaces per level, can be set to the editor tab = 4 spaces, automatic conversion
SemicolonDo not omit the semicolon to prevent the ASI (auto-insert semicolon) error
Line widthEach line of code
I. BASIC formatIndent inRecommended 4 spaces per level, can be set to the editor tab = 4 spaces, automatic conversionSemicolonDo not omit the semicolon to prevent the ASI (auto-insert semicolon) errorLine widthEach line of code is less than 80
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.