4 rules of simple design

1 · Christian · Aug. 1, 2021, 8:02 p.m.
https://martinfowler.com/bliki/BeckDesignRules.html by Martin Fowler Developed in the late 1990’s, the rules of simple design are: Passes the tests Reveals intent No duplication Fewest elements These rules are ordered, thus “passes the tests” takes precedence over “reveals intent” Passes the tests is the most important one. (Since introduced when XP started to get traction and be a first-class activity when writing software). The primary aim of tests is to verify that the system works as inten...