From cb008304710f568cee2943b637801264ff78379c Mon Sep 17 00:00:00 2001 From: Konstantin Date: Wed, 14 Jan 2015 14:46:47 +0300 Subject: [PATCH] Update and rename JavaScript Coding Conventions to JavaScript Name and Coding Conventions fix some typos --- ...ding Conventions => JavaScript Name and Coding Conventions | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename JavaScript Coding Conventions => JavaScript Name and Coding Conventions (99%) diff --git a/JavaScript Coding Conventions b/JavaScript Name and Coding Conventions similarity index 99% rename from JavaScript Coding Conventions rename to JavaScript Name and Coding Conventions index 22e3d3c..61059ad 100644 --- a/JavaScript Coding Conventions +++ b/JavaScript Name and Coding Conventions @@ -7,6 +7,7 @@ | Local variables | CamelCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No | | Constants name | PascalCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No | | Field name | CamelCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No | + *** Coding conventions are style guidelines for programming. They typically cover: @@ -26,7 +27,8 @@ Always use the same naming convention for all your code. For example: 4. Do not use under_scores in variable, constants, function arguments or function names; 5. Do not use hyphens in JavaScript names. *** -#### Naming Conventions + +## Naming Conventions Do use PascalCasing for function names: