Skip to content

Commit fcd6ed7

Browse files
author
Andrej
committed
- Adjusted coding guidelines a bit
1 parent f741268 commit fcd6ed7

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

CodingGuidelines.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
In order to help everyone read and easily understand the code, it must adhere to certain style rules:
44

5+
- Variables or attributes should start with a lower case letter and methods, classes, or interfaces with an upper case letter.
6+
7+
<sub>Example:</sub>
8+
9+
```cpp
10+
int frameCount
11+
12+
void Process()
13+
14+
class FrameProcessor
15+
```
16+
517
- Private/protected member variables (attributes) should be prefixed with an underscore ( _ ).
618

719
<sub>Example:</sub>
@@ -46,18 +58,6 @@ In order to help everyone read and easily understand the code, it must adhere to
4658
};
4759
```
4860

49-
- Variables or attributes should start with a lower case letter and methods, classes, or interfaces with an upper case letter.
50-
51-
<sub>Example:</sub>
52-
53-
```cpp
54-
int frameCount
55-
56-
void Process()
57-
58-
class FrameProcessor
59-
```
60-
6161
- IF statements should always use curly braces - even for single lines.
6262

6363
<sub>Example:</sub>

0 commit comments

Comments
 (0)