In this order of importance:

  1. Passes the tests
  2. Reveals intention
  3. No duplication
  4. Fewest elements

https://martinfowler.com/bliki/BeckDesignRules.html Book: Understanding the Four Rules of Simple Design - Corey Haines