DEV Community


Writing Zenlike Python (Talk)

codemouse92 profile image Jason C. McDonald Originally published at ・1 min read

There's a profound gap between working code and Pythonic code. To the developer whose first language is NOT Python, the distinction can appear blurry, even arbitrary. What is this "one obvious way" all those Python nerds are going on about?

Most of us are familiar with the "Zen of Python", Tim Peters's legendary, if tongue-in-cheek, set of guiding principles for the Python language. But can they actually inform Pythonic code?

In "Writing Zenlike Python", my talk from EuroPython 2020 Online, I unpack how the twenty principles (including the unwritten rule) of the Zen can guide you to write beautiful, maintainable code, by treating Python AS Python!


Editor guide