蛇宗三字經(jīng)

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!

每師出,多有名

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容