20 lines
426 B
Markdown
20 lines
426 B
Markdown
# Code style
|
|
|
|
## Naming Conventions:
|
|
- PascalCase:
|
|
- Functions
|
|
- Class names
|
|
- Struct names
|
|
|
|
- camelCase:
|
|
- Class attributes
|
|
- Class methods
|
|
- Struct attributes
|
|
- Variables
|
|
|
|
## Class Structure:
|
|
|
|
- Header (.h) Files:
|
|
- Declare public methods and attributes first, followed by private members.
|
|
- Implementation (.cpp) Files:
|
|
- Implement methods in the same order as declared in the corresponding header file. |