Discover screenwriting conventions, include the articles, news, trends, analysis and practical advice about screenwriting conventions on alibabacloud.com
In the software development process, the code naming specification is a very prominent content. A set of fully defined and clearly structured naming conventions will greatly improve the readability of the source code and the maintainability of the software.According to textual research, no one naming rules can make all programmers satisfied, programming textbooks generally do not specify the naming rules. However, it is necessary to develop a set of n
: Xmlexample, One more naming technique is that because a class is designed to represent an object, you should choose a noun when you name the class.For example: GraphicsName of method (first letter lowercase, letter start uppercase)The first word of the name of the method should begin with a lowercase letter, and the following words begin with a capital letter.Example: DrawImageName of the constant (all uppercase, often underlined)The names of the constants should all use uppercase letters and
function calling conventions and stacksCategory: Windows programming 2005-09-26 19:48 3825 people read reviews (2) Favorites report Compiler Pascal Delphi Integer compilation VC + +
Directory (?) [+] function calling conventions and stacks 1 What is a stack
The compiler typically uses the stack to implement function calls. The stack is an area of memory, and the embedded environment sometimes requires the p
Label:Naming specification database naming conventions for database tables
Data files
Database tables
Only one system
There are multiple systems
Association table name
database field Naming conventions
Other
View Name
Stored Procedure Name
SQL statements
Original linkData filesThe data file name takes the system name _ file type, f
Original article: http://www.irritatedvowel.com/Programming/Standards.aspx
. NET Programming Standards and Naming ConventionsCommon. NET Naming Conventions
These are the industry-accepted standard naming conventions for J #, C # and VB. NET programs. for additional information, please see the MSDN help documentation and FX Cop. while individual naming conventions
Canonical naming to avoid low-level problems
1. The best name is English characters, underline _, the number of three components
2. Project (Project) name, package name, module name, etc. should be in English beginning, not pure numbers , (the general has a special meaning at the beginning of the underscore, do not understand the use of chaos)
3. The name of the script cannot be duplicated with the system's module or third-party module (e.g. Requests/unittest/selenium, etc.)
4. The
Variable naming rules are designed to enhance the readability and ease of maintenance of your code. The following are the variable naming conventions that C + + must follow:
1. variable names can only be letters (A-Z , A-Z ) and Numbers (0-9 ) or underline (_ ) composition.
2. The first letter must start with a letter or an underscore.
3. cannot use C + + keyword to name variables to avoid conflicts.
4. variable names are case
function name is capitalized (that is, "Hump variable name" or "Pascal variable name"), without underlining. For acronyms, they are more likely to be capitalized as a single word (for example, writing StartRpc() rather than StartRPC() ).Addtableentry()deleteurl()openfileordie( )(The same naming conventions apply to both class scope and namespace scope constants, because they are exposed as part of the API, so they should look like a function, bec
Specification | process | design | data | database | Database design
The naming convention is very important in the database design process, and the reasonable design of the naming code can save the developer a lot of time to distinguish the database entity.
Database physical design includes: table design, view design, stored process design, user-defined function design, and so on.
1. Table Design Naming conventions: tables use T to start with the b
Naming conventions
Description: Refers to the naming conventions of database objects such as tables (table), sequences (SEQUENCE), Procedures (PROCEDURE), triggers (TRIGGER), and so on.
1. Basic naming principles
(1) Rule 1: Name the use of meaningful English words, the middle of the word is separated by an underscore.
(2) Rule 2: Names can only be used in English letters, numbers, underscores, and begi
, the customer, and so on. This enables a simple mechanism to trace the database, This is especially useful for non-client/server environments when customers complain that their databases are not meeting the desired requirements.NBSP; 4) contains the version mechanism NBSP; A version control mechanism is introduced in the database to determine the version of the database in use. The user's needs will always change as time goes on. The database structure may eventually be modified. It is more c
VBScript Coding Conventions
Coding conventions are some of the recommendations that help you write code using Microsoft Visual Basic scripting Edition. The encoding convention contains the following:
Naming conventions for objects, variables, and procedures
Annotation conventions
Text formatting and indenti
Programmers who use C/C ++ to develop software often encounter this problem: sometimes there is no problem in program compilation, but the function is always reported when the link is used (the classic LNK 2001 error ), sometimes there are no errors in program compilation and linking, but a stack exception occurs when a function in the library is called. These phenomena usually occur when C and C ++ code are used together or when a third-party library is used in C ++ programs (not developed in C
NET design Specifications: conventions, idioms and patterns ——— naming conventions Foreword: Recently in the ". NET design Specifications: conventions, idioms and patterns of the book, mainly speaking. NET design specifications, before this piece is not particularly concerned about, recently want to put these systems to learn, the following is basically a reading
stack top pointer is also modified. You can also remove the top stack from the stack, which is called pop. After the stack pops up, an element at the top of the stack changes to the top of the stack, and the top pointer of the stack changes accordingly.
When a function is called, the caller pushes the parameter to the stack in sequence and then calls the function. After the function is called, the caller obtains data in the stack for calculation. After function compute is completed, the caller
I always thought that I was still talking about programming skills. Yesterday, a teacher saw what I wrote before.
Code I still need to strengthen my skills (I was very depressed at the time, but I actually know more than him ). In many cases, we pay too much attention to high-level and cutting-edge technologies. In fact, many companies ask you to write a simple
Program , You may decide whether you want. They see your experience and your level from the code. These levels do not reflect your cut
Exercise 7.3: Implement a String method for the *tree type in Gopl.io/ch4/treesort (§4.4) to show a sequence of values for the tree type.Package Mainimport ("FMT" "bytes") Func main () {//definition array arr:=[...] int{6,2,1,3,4,5} var t *tree for I:=0;i Daily Go Language Bible-Interface Conventions Exercise 2
1. Module
The module uses lowercase names as much as possible, keeping the first letter lowercase and trying not to underline (unless there are multiple words and a small number of cases)
# 正确的模块名import decoderimport html_parser# 不推荐的模块名import Decoder2. Class name
The class name uses the Hump (CamelCase) naming style, capitalized, and the private class can start with an underscore
class Farm(): passclass AnimalFarm(Farm): passclass _PrivateFarm(Farm): pass
Pl
method facilitates the stack traceBadvar log = function (msg) {Console.log (msg);};/ /goodvar log = function log (msg) {Console.log (msg);};If the file is exported as a class, the filename should be consistent with the class nameFile Contentsclass CheckBox {//...} Module.exports = checkbox;//in some other file//badvar checkbox = require ('./checkbox ');//Badvar checkbox = require ('./ Check_box ');//Goodvar CheckBox = require ('./checkbox ');1:15 and let them is for lights in the firmament of t
Date Created* @version 1.00*/2. attribute CommentYou must precede each property with a property comment, and the comment template is as follows:/** Tip Information */Private String STRMSG = null;3. Method CommentYou must add a method comment before each method, and the comment template is as follows:/*** Detailed instructions for using the class method** Instructions for use of @param parameter 1 parameter 1* @return A description of the return result* @throws exception type. The error code ind
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.