9.14 A global variable identifies state.
9.15 A function or functional macro identifies an action.
10.1 (what) Function interfaces describe what is done.
10.2 (what for) Interface comments document the purpose of a function.
10.3 (how) Function code tells how the function is organized.
10.4 (in which manner) Code comments explain the manner in which function details are implemented.
10.5 Separate interface and implementation.
10.6 Document the interface—explain the implementation.
10.7 Document interfaces thoroughly.
10.8 Structure your code in units that have strong semantic connections.
10.9 Implement literally.
10.10 Control flow must be obvious.
10.11 Macros should not change control ...

Get Modern C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.