Revision of guidelines
Moved the 'commenting' guideline to the first position, as I believe that this is the first step towards a better working environment with each other.
This commit is contained in:
parent
e1d253a303
commit
3ff135236d
@ -1,6 +1,8 @@
|
|||||||
1.No "using namespace std;"
|
1.Add comments to explain what you are trying to do.
|
||||||
|
|
||||||
2.Clearly declare "private" inside of class. For example:
|
2.No "using namespace std;"
|
||||||
|
|
||||||
|
3.Clearly declare "private" inside of class. For example:
|
||||||
|
|
||||||
use
|
use
|
||||||
```c++
|
```c++
|
||||||
@ -23,8 +25,6 @@ class item{
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
3.Declare inheritance type(public, private, protected) when using inheritance.
|
4.Declare inheritance type(public, private, protected) when using inheritance.
|
||||||
|
|
||||||
4.If not finished with code, add a TODO as comments.
|
5.If not finished with code, add a TODO as comments.
|
||||||
|
|
||||||
5.Add comments to explain what you want to do.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user