docs: add coding guidelines review and examples
This commit is contained in:
parent
718c6a33e3
commit
b00ec8d8d5
@ -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) {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user