The Zen of Python

What, you’ve never heard of it?

So read the following carefully!


What is this?

🧐 It’s kind of like a wise person or mentor, helping you write better code while grasping the very essence of Python.

It was written by Tim Peters, a highly respected programmer in the Python community.

It’s a kind of poem, composed of 19 aphorisms that humorously summarize the principles behind Python’s design.

When I discovered it, I thought it was brilliant!

A kind of checklist that allows us, among Python developers, to speak a universal language.

If you’re a seasoned Pythonista, there’s zero chance you don’t know this document, and if you’re a beginner, it’s a good way to grasp the whole essence of this language.

In future articles, I’ll analyze some aphorisms, so if you’re curious, hit the bell


How to find it?

Open a Python repl and type this command:
import this

or got to PEP20


So!
Did you know “The Zen of Python”?

What’s your favorite aphorism and why?
I’ll be waiting for you in the comments!

原文链接:The Zen of Python

© 版权声明
THE END
喜欢就支持一下吧
点赞13 分享
Death comes to all, but great achievements raise a monument which shall endure until the sun grows old.
死亡无人能免,但非凡的成就会树起一座纪念碑,它将一直立到太阳冷却之时
评论 抢沙发

请登录后发表评论

    暂无评论内容