mirror of
https://github.com/kettanaito/naming-cheatsheet.git
synced 2025-08-10 23:24:07 +02:00
Merge pull request #23 from ssimontis/patch-1
Revised Convention Section
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user