Zen of Writing Good Code

  1. Simple is better complex.
  2. Complex is better than complicated.
  3. Explicit is better than implicit.
  4. Clever is the enemy of elegant.
  5. The best idea wins.
  6. Premature optimization is when you solve problems you do not have.
  7. Mature optimization is when you solve problems before they become monsters.
  8. Our codebase is our home, make sure it stays a nice place to spend time.
  9. Naming is important, but it never replaces documentation.
  10. Tests are not a hipster fad, like nodejs.
  11. Debugging is harder than writing code.
  12. Readable code is better than concise code.
  13. Always architect with a concrete problem in mind (problem should have existing code to help focus the problem).