The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
無意間發(fā)現(xiàn)了彩蛋.... 哈哈哈~
The Zen of Python,
蛇宗三字經(jīng)
作者:Tim Peters
翻譯:元創(chuàng)
Beautiful is better than ugly.
美勝丑
Explicit is better than implicit.
明勝暗
Simple is better than complex.
簡勝復(fù)
Complex is better than complicated.
復(fù)勝雜
Flat is better than nested.
淺勝深
Sparse is better than dense.
疏勝密
Readability counts.
辭達(dá)意
Special cases aren't special enough to break the rules.
不逾矩
Although practicality beats purity.
棄至清
Errors should never pass silently.
無陰差
Unless explicitly silenced.
有陽錯
In the face of ambiguity, refuse the temptation to guess.
拒疑數(shù)
There should be one-- and preferably only one --obvious way to do it.
求完一
Although that way may not be obvious at first unless you're Dutch.
雖不至,向往之
Now is better than never.
敏于行
Although never is often better than *right* now.
戒莽撞
If the implementation is hard to explain, it's a bad idea.
差難言
If the implementation is easy to explain, it may be a good idea.
好易說
Namespaces are one honking great idea -- let's do more of those!
每師出,多有名
The Zen of Python,
蛇宗三字經(jīng)
作者:Tim Peters
翻譯:元創(chuàng)
Beautiful is better than ugly.
美勝丑
Explicit is better than implicit.
明勝暗
Simple is better than complex.
簡勝復(fù)
Complex is better than complicated.
復(fù)勝雜
Flat is better than nested.
淺勝深
Sparse is better than dense.
疏勝密
Readability counts.
辭達(dá)意
Special cases aren't special enough to break the rules.
不逾矩
Although practicality beats purity.
棄至清
Errors should never pass silently.
無陰差
Unless explicitly silenced.
有陽錯
In the face of ambiguity, refuse the temptation to guess.
拒疑數(shù)
There should be one-- and preferably only one --obvious way to do it.
求完一
Although that way may not be obvious at first unless you're Dutch.
雖不至,向往之
Now is better than never.
敏于行
Although never is often better than *right* now.
戒莽撞
If the implementation is hard to explain, it's a bad idea.
差難言
If the implementation is easy to explain, it may be a good idea.
好易說
Namespaces are one honking great idea -- let's do more of those!
每師出,多有名