五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

Python之禪 The Zen of Pytho

2023-03-31 17:30 作者:bili_wakaranai  | 我要投稿

by Tim Peters

?

Beautiful is better than ugly. 優(yōu)美勝于丑陋。

?

Explicit is better than implicit. 直白勝于晦澀。

?

Simple is better than complex. 簡(jiǎn)潔勝于復(fù)雜。部結(jié)構(gòu))

?

Complex is better than complicated. 復(fù)雜勝于凌亂。

?

Flat is better than nested. 扁平勝于嵌套。

?

Sparse is better than dense. 間隔勝于緊湊。

?

Readability counts. 可讀性很重要。

?

Special cases aren't special enough to break the rules. 再怎么特殊,也不能特殊到違背這些規(guī)則。

?

Although practicality beats purity. 即便如此,實(shí)用比純潔更重要。

?

Errors should never pass silently. Unless explicitly silenced. 不要放過(guò)任何錯(cuò)誤,除非你確定需要這樣做。

?

In the face of ambiguity, refuse the temptation to guess. 當(dāng)存在多種可能時(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. 雖然這并不容易,因?yàn)槟悴皇?Python 之父(這里的 Dutch 是指 Guido )

?

Now is better than never.

Although never is often better than *right* now. 做也許好過(guò)不做,但不假思索就動(dòng)手還不如不做。

?

If the implementation is hard to explain, it's a bad idea. 如果你無(wú)法向人描述你的方案,那肯定不是一個(gè)好方案。

If the implementation is easy to explain, it may be a good idea. 如果你的方案很容易向人描述,那么有可能就是個(gè)好方案,

?

Namespaces are one honking great idea -- let's do more of those! 命名空間是一種絕妙的理念,我們應(yīng)當(dāng)多加利用。


Python之禪 The Zen of Pytho的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
丁青县| 台南县| 灵台县| 新丰县| 包头市| 宝应县| 馆陶县| 马公市| 松原市| 佛学| 泰安市| 贵港市| 通城县| 平远县| 东源县| 和林格尔县| 龙南县| 台江县| 大悟县| 左权县| 道孚县| 紫云| 巴塘县| 西乌珠穆沁旗| 尤溪县| 疏附县| 涿州市| 清徐县| 阳泉市| 甘孜县| 微山县| 东源县| 罗定市| 赞皇县| 东乌珠穆沁旗| 苗栗市| 铜鼓县| 桂阳县| 额济纳旗| 扶绥县| 吉林市|