naming conventions

This commit is contained in:
idori
2017-10-16 22:44:44 +03:00
parent 2607b6a0bf
commit 49f51f11a4

View File

@ -260,7 +260,7 @@ Text here...
## ✔ 3.8 Naming conventions for variables, constants, functions and classes ## ✔ 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/> <br/><br/><br/>