[Python]Zen

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!

作者:變與不變

鏈接:http://m.itdecent.cn/p/caf8b9a41f9f

來(lái)源:簡(jiǎn)書(shū)

著作權(quán)歸作者所有。商業(yè)轉(zhuǎn)載請(qǐng)聯(lián)系作者獲得授權(quán),非商業(yè)轉(zhuǎn)載請(qǐng)注明出處。

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

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

  • **2014真題Directions:Read the following text. Choose the be...
    又是夜半驚坐起閱讀 11,262評(píng)論 0 23
  • 挪威大劇作家易卜生說(shuō)過(guò):“人的第一天職是什么?答案很簡(jiǎn)單:做自己?!盵玫瑰][磕頭] 認(rèn)清自己,把握自己的命運(yùn),實(shí)...
    Zandra梓桐閱讀 148評(píng)論 0 0
  • 他們是同桌,每晚一下自習(xí),他們一起回去,被班里同學(xué)看到,不懷好意地沖他們笑,女孩立馬解釋,就是碰到而已,然后順便就...
    時(shí)光樹(shù)y閱讀 195評(píng)論 0 0
  • 我有一個(gè)特點(diǎn)就是特別喜歡活在自己的圈子里,對(duì)于圈子外的人不是說(shuō)不屑一顧,只不過(guò)覺(jué)得很難融入,所以我從來(lái)不主動(dòng)走入別...
    00_jianshu閱讀 506評(píng)論 0 0
  • 6親愛(ài)的自己,我想對(duì)你說(shuō),我愛(ài)你, 卻說(shuō)不出口, 因?yàn)槲也淮_定,我是否真的愛(ài)你, 我不想對(duì)你說(shuō)謊, 親愛(ài)的自己,我...
    一頭母狼閱讀 441評(píng)論 0 4

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