Appendix 2: Modern C++ Best Practices

In this appendix we briefly discuss the best practices of modern C++. Many of these ideas are distilled from Effective Modern C++ and the Google C++ Style Guide, as well as the C++ Core Guidelines maintained by Bjarne Stroustrup and Herb Sutter. The goal of this appendix is to summarize widely accepted practices that help ensure the overall quality of your code.

Common Tools

Good tooling catches a large class of problems before they ever reach production:

Coding Style

A consistent style makes a codebase far easier to read and maintain:

Overall Performance

Code Security

Maintainability

Portability