Python Principles


In 1999, Tim Peters listed several guiding principles for Python's design (www.python.org/dev/culture.html). Here are some of our favorites:

  1. Now is better than never.

  2. Spare is better than dense.

  3. In the face of ambiguity, refuse the temptation to guess.

  4. If the implementation is easy to explain, it may be a good idea.

  5. Special cases aren't enough to break the rules.