mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-03-15 10:36:51 +01:00
「📝」 doc(NORM.md): fixed the norm
This commit is contained in:
4
NORM.md
4
NORM.md
@ -2,14 +2,14 @@
|
||||
|
||||
## File Structure
|
||||
|
||||
- Header Files (.h):
|
||||
- Header Files (.hpp/.h):
|
||||
- Include declarations of classes, functions, constants, and macros.
|
||||
- Use include guards or #pragma once to prevent multiple inclusions.
|
||||
- Source Files (.cpp):
|
||||
- Contain the implementation of functions and classes.
|
||||
|
||||
## Naming Conventions
|
||||
- Variables: camelCase (e.g., int studentAge;)
|
||||
- Variables: snake_case (e.g., int student_age;)
|
||||
- Functions: camelCase (e.g., void calculateSum();)
|
||||
- Classes: PascalCase (e.g., class UserAccount {};)
|
||||
- Constants: ALL_CAPS_SNAKE_CASE (e.g., const int MAX_SIZE = 100;)
|
||||
|
Reference in New Issue
Block a user