📝」 doc(NORM.md): fixed the norm

This commit is contained in:
y-syo
2025-02-03 18:53:18 +01:00
parent 4fbaed787d
commit d7baf04e5f

View File

@ -2,14 +2,14 @@
## File Structure ## File Structure
- Header Files (.h): - Header Files (.hpp/.h):
- Include declarations of classes, functions, constants, and macros. - Include declarations of classes, functions, constants, and macros.
- Use include guards or #pragma once to prevent multiple inclusions. - Use include guards or #pragma once to prevent multiple inclusions.
- Source Files (.cpp): - Source Files (.cpp):
- Contain the implementation of functions and classes. - Contain the implementation of functions and classes.
## Naming Conventions ## Naming Conventions
- Variables: camelCase (e.g., int studentAge;) - Variables: snake_case (e.g., int student_age;)
- Functions: camelCase (e.g., void calculateSum();) - Functions: camelCase (e.g., void calculateSum();)
- Classes: PascalCase (e.g., class UserAccount {};) - Classes: PascalCase (e.g., class UserAccount {};)
- Constants: ALL_CAPS_SNAKE_CASE (e.g., const int MAX_SIZE = 100;) - Constants: ALL_CAPS_SNAKE_CASE (e.g., const int MAX_SIZE = 100;)