3. Pitfalls
Pieter P- No C-style casts
- No unions
- Signed integer overflow
- Unsigned integer overflow
- Dangling pointers (parameter arguments)
- No micro-optimizations, measure!
- Unit testing
- Sanitizers
- Valgrind
- Layers of correctness, logic errors and security