December 2021
Intermediate to advanced
352 pages
9h 32m
English
This is the fourth guideline from the ES section of the Core Guidelines, Expressions and Statements, to which we have devoted a chapter. One reason for that is the size of this section (over sixty items), but more importantly it gets to the heart of C++. The section opens with the following:
“Expressions and statements are the lowest and most direct way of expressing actions and computation.”
This guideline binds together with ES.5: “Keep scopes small” and ES.10: “Declare one name (only) per declaration.” As you saw in ES.5, keeping scopes small is a great improvement to readability, since scope creates context. ...
Read now
Unlock full access