Here goes a little gem: Secure Programming Practices in C++
The main takeaway - is a list of "I'd rather you did not":
- Use C
- Allocate with new
- Do math a lot
- Trust your external input
- Use pointers a lot (since they have no semantics!)
- Write “clever” code
- Use shared_ptr a lot
- Use share state a lot
Enjoy!
P.S.
For the curious students: C++ Core guidlines
Top comments (1)