clang-format to format the code.clang-tidy to check the code for other potential issues._, m_,…) for class members#pragma once (no #ifdef __MODULE__ / #define __MODULE__ / #endif)#include "relative/path/to/the/file.h"#include <file.h>src, not relative to the current file. Don’t do: #include "../file.h"auto sparingly. Don’t use auto for fundamental/built-in types and fixed width integer types, except when initializing with a cast to avoid duplicating the type name.
// Examples:
auto* app = static_cast<DisplayApp*>(instance);
auto number = static_cast<uint8_t>(variable);
uint8_t returnValue = MyFunction();
nullptr instead of NULL