C++ Coding Standards: 101 Rules, Guidelines, and Best Practices Table of Contents Copyright The C++ In-Depth Series Titles in the Series Preface How to Use This Book Coding Standards and
Trang 2C++ Coding Standards: 101 Rules, Guidelines, and Best Practices
Table of Contents
Copyright
The C++ In-Depth Series Titles in the Series
Preface
How to Use This Book Coding Standards and You About This Book
Acknowledgments
Organizational and Policy
Trang 3Issues
Chapter 0 Don't sweat the
small stuff (Or: Know what not
to standardize.)
Summary
Discussion
Examples
References
Chapter 1 Compile cleanly at high warning levels
Summary
Discussion
Examples
Exceptions
Trang 4References
Chapter 2 Use an automated build system
Summary
Discussion
References
Chapter 3 Use a version
control system
Summary
Discussion
Exceptions
References
Chapter 4 Invest in code reviews
Trang 5Summary
Discussion
References
Design Style
Chapter 5 Give one entity one cohesive responsibility
Summary
Discussion
Examples
References
Chapter 6 Correctness,
simplicity, and clarity come first Summary
Discussion
Trang 6Weinberg, Gerald
what
Wilson, Matthew
works-like-a [See
substitutability]
wrapping
header files [See header files, header files;wrapping
third-party headers]
platform-dependent operations
Wysong, Lara
Trang 7[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [Z]
zero initialization
Zolman, Leor