142 pages, sorry, it's more of coding nightmare to follow.
Too many rules, and there are none.
My recommendation is
1. Code should be easy to read.
2. Behavior straight forward, good class and variable naming.
3. If program is to complex, redo it to be simple, use Object orientation.
4. If the algorithm is still complex, write full pseudo code, before actual code.
5. Use comments for bug fix, date, name, revision, reason.