mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 14:23:12 +00:00
Update CONVENTIONS.md
This commit is contained in:
parent
f3eff740ce
commit
d3d362090c
@ -27,7 +27,7 @@ Ternary Operator | (condition)? result1 : result2 | `printf("Value is 0: %s", (v
|
|||||||
Some other conventions to follow:
|
Some other conventions to follow:
|
||||||
|
|
||||||
- raylib code **does not use TABS**, use 4 spaces instead.
|
- raylib code **does not use TABS**, use 4 spaces instead.
|
||||||
- Avoid trailing spaces
|
- Avoid trailing spaces, please, avoid them
|
||||||
- **ALWAYS** initialize all defined variables.
|
- **ALWAYS** initialize all defined variables.
|
||||||
- Control flow statements always are followed **by a space**:
|
- Control flow statements always are followed **by a space**:
|
||||||
```c
|
```c
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user