Program Design Specifications (reference template)

Source: Internet
Author: User

Programming Rule 1. folder and file naming rules 1.1 folder naming
① Create corresponding folders according to the structure specified by the system design and create subfolders as needed
② The folder name should be able to express its meaning as much as possible, and should be named in English as much as possible, not Chinese Characters
③ Folder names must all be named using lowercase letters (for example, "/example") 1.2
① The name of the file should be able to express its meaning as much as possible, and should be named in English as much as possible, and should never be Chinese Characters
② All file names should contain lowercase letters (ensure platform compatibility)
③ File names are generally in the "xxx_yyy.ext" format. xxx (3-4 letters) indicates classification, and yyy (custom number of letters) indicates operations (such as "/example/exp_edit.htm. program writing rule 2.1 variable naming
All variables must be able to reflect the role of the variables, using the following naming rules:
(1) constant naming conventions
Use the Const statement to create a real constant. This Convention uses a mix of upper and lower cases and uses "con" as the prefix of the constant name. For example:
ConYourOwnConstant
(2) variable naming conventions
For easier reading and consistency, use the following variable naming conventions in VBScript code:
Type
Prefix
Example

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.