python之禪

圖圖圖圖胡圖圖發表於2019-01-16

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
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!

相關文章