Skip to content

Zen of coding

  1. Explicit is better than implicit.
  2. Delegate work to a tool when possible.
  3. Simple is better than complex.
  4. Complex is better than complicated.
  5. Flat is better than nested.
  6. Errors should never pass silently.
  7. There should be one (and preferably only one) obvious way to do it.
  8. It should be easy to run popular actions.
  9. Bad stuff should be difficult to do.
  10. If the implementation is hard to explain, it's a bad idea.
  11. If the implementation is easy to explain, it may be a good idea.
levitating man with a laptop on knees

Quick links: Coding conventions