The Zen of Python - by Tim Peters


The “one and preferably only one” has two different types of hyphen spacings on purpose.

Source

Zen of Python - Wikipedia

Related Notes

These themes are covered in the text

Simple is Maintainable - simple is better than complex

Affordances - one obvious way to do it

Don’t use “Absence of a Signal” as a Signal - errors passing silently

Feynman Technique - explaining to a child (implementation is hard to explain)

The Ends Justify the Means - special cases shouldn’t break the rules for this reason

Namespace - explicitly referenced

Complex vs Complicated