Actually, the book agrees with you. There's very little evidence to support having a ridgid set of rules to follow when programming.
There are a few high-level take-aways from the recurring patterns seen in the analysis;
these include:
• there is little or no evidence for many existing theories of software engineering,
• most software has a relatively short lifetime, e.g., source code is deleted, packages are
withdrawn or replaced, and software systems cease to be supported. A cost/benefit
analysis of an investment intended to reduce future development costs needs to include
the possibility that there is no future development; see fig 4.24, fig 5.7, fig 5.52, fig 5.69,
fig 6.9, fig 3.31.
Changes within the ecosystems in which software is built also has an impact on the
viability of existing code; see fig 4.13, fig 4.22, fig 4.59, fig 4.61, fig 11.76,
• software developers should not be expected to behave according to this or that mathematical ideal. People come bundled with the collection of cognitive abilities and
predilections that enabled their ancestors, nearly all of whom lived in stone-age communities, to reproduce; see chapter 2.