Edit the source text using Gedit without relying on the editor.A/C + + programming formatClass Name:Name of function:Variable name:Macro Name:Edit Document Format1, the paragraph between 3 spaces, the title and the body separated by two spaces.2, the title of punctuation as little as possible, without a period.3, comments and headings, no longer require the use of an annotated character, as concise as possible.4, the CTRL command format, the middle tw
: This article mainly introduces the PHP file format specifications. if you are interested in the PHP Tutorial, refer to it. Php file format specification
PHP specifications
1. if... Else... Writing method
If (true) {// Code here ...} else {// Code here ...} note: if and () keep a space, () and {in the same row, and keep a space
2. if... Elseif... Else writ
other commands in the script should be considered for simplification. 6.1.4 Annotation SpecificationFile Module Comments : Description of the purpose, version input and output files, dependent tools and their version information, before and after the process script (optional), format unified. Important Function Comment: Description function purpose, parameter, return value, author, version.Get into the habit of writing notes: Comments to be detailed
In a PDF provided by the instructor, I found a description of the jcl writing format, as follows:
General statement format specification
In jcl, all statements except the/* Statement start with the // symbol in the first and second columns. The system specifies that these statements are 80 columns in length. These 80 columns are logically divided into five areas
JSON has three types of elements:1. Structure (keywords: curly braces)2. Key-value pairs (keyword: colon)3. Array (keyword: brackets)Organizational rules:One or more key-value pairs are placed in the struct.The key can only be a string.Values can be: string, number, NULL, true, false, struct, or array.The array holds one or more values.Example:{ "Name": "Bejson", "url": "Http://www.bejson.com", "Page": 88, "Isnonprofit":true, "Address": { "Street": "Science Park Road.",
As a developer, you have to have a strict code specification. For this I have summed up some code specification cases.
Directory
1. Foreword
2. Trial scope
3. Java Naming conventions--
3.1 Public engagements
3.2 Java files, packages
3.3 Class, Interface naming specification
3.4 Method Naming specification
3.5
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.