Skip to content

Commit 4a7a4ff

Browse files
author
Marko Bencun
committed
developer-notes: add reference to snake_case and PascalCase
CamelCase is ambiguous as it refers to both lowerCamelCase and UpperCamelCase, whereas PascalCase is only UpperCamelCase.
1 parent 1124328 commit 4a7a4ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/developer-notes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ tool to clean up patches automatically before submission.
2828
required when doing so would need changes to significant pieces of existing
2929
code.
3030
- Variable and namespace names are all lowercase, and may use `_` to
31-
separate words.
31+
separate words (snake_case).
3232
- Class member variables have a `m_` prefix.
3333
- Global variables have a `g_` prefix.
3434
- Constant names are all uppercase, and use `_` to separate words.
35-
- Class names, function names and method names are CamelCase. Do not prefix
36-
class names with `C`.
35+
- Class names, function names and method names are UpperCamelCase
36+
(PascalCase). Do not prefix class names with `C`.
3737

3838
- **Miscellaneous**
3939
- `++i` is preferred over `i++`.

0 commit comments

Comments
 (0)