docs: add coding guidelines review and examples
This commit is contained in:
1 parent
718c6a33e3
commit
b00ec8d8d5
1 file changed
+4
@@ -1,5 +1,9 @@
|
||||
#include "gamecube.h"
|
||||
|
||||
// Coding Guidelines:
|
||||
// Negativ: keine namespaces verwendet, Kommentare erklären "wie" nicht "warum"
|
||||
// Positiv: verständliche Methodennamen, getrennte Deklaration in Header-Dateien
|
||||
|
||||
gamecube::gamecube(const Vec3 &pos, Color col)
|
||||
: position(pos), color(col) {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user