forked from extern/naming-cheatsheet
Revised Convention Section
Per issue #14 that I created earlier, I have made a possible revision to the section concerning following a consistent naming style. Please feel free to merge if you agree that it should be noted to discover the popular conventions for the language of your choice.
This commit is contained in:
parent
f55da865cc
commit
c173d0b07b
@ -43,7 +43,7 @@ const friends = ['Kate', 'John']
|
||||
|
||||
## Naming convention
|
||||
|
||||
Pick **one** naming convention and follow it. It may be `camelCase`, or `snake_case`, or anyhow else, it does not matter. What matters is for it to remain consistent.
|
||||
Pick **one** naming convention and follow it. It may be `camelCase`, `PascalCase`, `snake_case`, or anything else, as long as it remains consistent. Many programming languages have their own traditions regarding naming conventions; check the documentation for your language or study some popular repositories on Github!
|
||||
|
||||
```js
|
||||
/* Bad */
|
||||
|
Loading…
Reference in New Issue
Block a user