Rule of Modularity: Write simple parts connected by clean interfaces. Rule of Clarity: Clarity is better than cleverness. ... Rule of Repair: When you must fail, fail noisily and as soon as possible. ... Rule of Diversity: Distrust all claims for "one true way".