The Rules of Programming

To Nha Notes | July 22, 2022, 3:01 p.m.

  • Simpler is always better
  • Let your code tell its own story
  • Localize complexity
  • Generalization takes three examples
  • Big projects need simple designs
  • Code that isn't running doesn't work
  • If something doesn't work, it's your fault
  • Work backwards from your result, not forward from your code
  • Some tools should be left in the toolbox
  • Not every problem lends itself to an elegant solution

The source is from the book The Rules of Programming