Additional Rules

Include Guard

Use #pragma once at the top of every header file to prevent multiple inclusion. This is simpler and less error-prone than UUID-based #ifndef guards.

good example
#pragma once
bad examples
#ifndef GUARD_C73C2C69_6A11_4490_93AA_73A40D5F62F9
#define GUARD_C73C2C69_6A11_4490_93AA_73A40D5F62F9
// ...
#endif // GUARD_C73C2C69_6A11_4490_93AA_73A40D5F62F9

#ifndef CANTRANSCEIVER_H_
#define CANTRANSCEIVER_H_
// ...
#endif /* CANTRANSCEIVER_H_ */