Goto: Original linkHttp://blog.sina.com.cn/s/blog_a3a8d0b1010100uw.htmlI. Classes and Interfaces1 . Naming: Class names begin with the capital letter "C" followed by one or more words. Capitalize the first letter of each word. The interface begins
Google Java Programming style guideObjectiveThis document is a complete definition of the Google Java Programming style specification. When and only if a Java source file conforms to the rules in this document, we think it conforms to Google's Java
Keywords: variable constant operatorKeywords in 1.JAVA: Words that are given special meanings, which are characterized by all lowercase letters. For example: Class,interface,byte,int,short,void,if,while,break ...Identifiers in 2.JAVA: Some names
Learning content: keywords, identifier naming rules and Java naming conventions in Java, constants and variables; Select Structure if switchFirst, the key word1, the keyword used to define the access rights modifier(1) Private (2) protected (1)
Since 1970, VI and Vim have become one of the programmers ' favorite text editors. 5 years ago, I wrote a question called "100 vim commands that every programmer should know." This is an improved version of the previous article, I hope you will like
I. Tuple (tuple)Tuples are similar to lists, but once created, they cannot be modified, so they are also called read-only lists.Tuples have only two methods: Count & index.eg. Names = ("Zhangsan", "Lisi")
See Yumbo Main Blog
CSS text (text) one colorThe color color property is used to set the colors of the text.Colors are most often specified by CSS:
Hexadecimal values-such as: #ff0000
An RGB value-such as: RGB (255,0,0)
Name of the color-such as: Red
Camel-style nomenclature and underline method:Camel-named: Each logical breakpoint in the name has a capital letter to mark;Underline: Each logical breakpoint in the name has an underscore to mark;Camel nomenclature: The first word begins with a
Coding method
The coding approach incorporates many aspects of software development. Although they usually have no effect on the functionality of the application, they are useful for improving the understanding of the source code. This takes into
1. Project NameAll lowercase, such as: test2. Package NameAll lowercase, such as: Com.tju.lirui.test2. Class nameCapitalize the first letter of each word, such as: HelloWorld3. Variable name1, static variables: All uppercase, the words with the
HawsteinSource: http://hawstein.com/posts/google-java-style.htmlDisclaimer: This article uses the following protocol to authorize:Free Reprint-Non-commercial-non-derivative-preserve Attribution | Creative Commons by-nc-nd 3.0 , reproduced please
Java applications can be defined as collections of objects that communicate by invoking their own methods. Let's look specifically at what the class, object, method, entity variable means.
Object: Object has state and behavior. For example: A dog
Converts the first letter of each word to uppercase: Ucwords ()Capitalize the first letter of a word: Ucfirst ()First letter to lowercase: lcfirst ()Capitalize all letters: Strtoupper ()
Example
The code is as follows
Copy Code
There are a lot of string functions in PHP Oh, it is said that PHP is composed of functions, which allows developers to speed up the development of the site Oh, well, crap don't say much. Let's take a look at my friends for free PHP string function
The coding coding method incorporates many aspects of software development. Although they usually have no effect on the functionality of the application, they are useful for improving the understanding of the source code. This takes into account all
With the change case feature in Word2013, you can flexibly set the English case state in Word documents. The steps to change the case for English characters in Word2013 are described below:
Step 1th, open the Word2013 document window and select the
Learn to OrganizeOracle1, set linesize 100; Set length2, set pagesize 30; Set the number of displays per page3. Em A.sql Open Notepad4, @ A executes the code in file A, you can specify the path of the file @d:a.txt5, conn user name/password to
Naming Conventions (1) Case sensitivity and naming conventions
Although naming conventions are not necessary, following a set of consistent naming conventions during framework development will play a major role in improving the availability of the
Character functions used by stored procedures to process strings -- return character values all functions receive family-type parameters (except for CHR) and return character values. except for some special descriptions, most of these functions
The naming conventions are followed primarily for the developer to be easy to understand and maintain consistency with the framework elements.
Casing conventions
Casing rules for identifiers: In order to differentiate multiple words in
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.