13: Python Tim Peters Road

>>>import this

The Zen of Python, by Tim Peters

#Python Peters Road Tim
Beautiful IS Within last of Better Ugly.
# Better is better than ugly
Explicit IS of Better Within last the Implicit.
# Vague clearly better than
the Simple IS Within last of Better Complex.
# Simple is better than complex
Complex of Better IS Within last Complicated.
# Complex rather than obscure
Within last of Better nested IS Flat.
# straight rather than zigzag
Sparse IS Within last of Better dense.
# better than evacuation intensive
readability Counts.
# focusing on readability
Special Cases are not enough to BREAK at The Special rules.
# abide by the rules, no exceptions
Although practicality Purity Beats.
# even if the practice would defeat the truth
errors Should Never Pass silently.
# error can not be tolerated, but Wan
entitled to a repayment Explicitly Silenced.
# unless the mind is cold
In the face of ambiguity, refuse the temptation to guess.2
# Suspicions, declined to speculate
There Should BE ONE - and preferably only One Way to do --obvious IT.
# Unbending, explore the right path
Although is not that Way May Obvious BE AT First The unless you're Dutch.
# Road is long come, happiness and earth
now IS Within last of Better Never.
# not mention past the bridge, and to those who know it can be traced
Although is Never IS Often field of Better Within last * right * now.
# anterior unknown, may wish to give up
If the implementation is hard EXPLAIN to, IT A Bad apos IDEA.
# obscure, can also discard
the If Implementation the Easy to EXPLAIN IS, IT bE A Good On may IDEA.
# straightforward, only remaining
Namespaces are one honking great idea - let 's do Those of More!
# namespace, the more the better

Published 45 original articles · won praise 0 · Views 499

Guess you like

Origin blog.csdn.net/tainwaifeixian/article/details/104597886
Recommended