mirror of
				https://github.com/goldbergyoni/nodebestpractices.git
				synced 2025-10-31 09:38:39 +08:00 
			
		
		
		
	naming conventions
This commit is contained in:
		| @ -260,7 +260,7 @@ Text here... | ||||
|  | ||||
| ## ✔ 3.8 Naming conventions for variables, constants, functions and classes | ||||
|  | ||||
| **TL;DR:** Use ***lowerCamelCase*** when naming variables and functions, ***UpperCamelCase*** (capital first letter as well) when naming classes and ***UPPERCASE*** for constants. Use descriptive names, but try to keep them short. | ||||
| **TL;DR:** Use ***lowerCamelCase*** when naming variables and functions, ***UpperCamelCase*** (capital first letter as well) when naming classes and ***UPPERCASE*** for constants. This will help you to easily distinguish between plain functions and classes that require instantioation. Use descriptive names, but try to keep them short. | ||||
| <br/><br/><br/> | ||||
|  | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 idori
					idori