docs: add coding guidelines review and examples

This commit is contained in:
saramoreira 2025-10-19 18:43:24 +02:00
parent 718c6a33e3
commit b00ec8d8d5

View File

@ -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) {}