From b00ec8d8d5c858fc8660a9ca3dd92d6d58d09c58 Mon Sep 17 00:00:00 2001 From: saramoreira Date: Sun, 19 Oct 2025 18:43:24 +0200 Subject: [PATCH] docs: add coding guidelines review and examples --- src/gamecube.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gamecube.cpp b/src/gamecube.cpp index 6848d50..adabfc6 100644 --- a/src/gamecube.cpp +++ b/src/gamecube.cpp @@ -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) {}