最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

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

Zen of Python(Python編程 之禪)

2022-09-03 10:51 作者:永遠(yuǎn)的修伊  | 我要投稿

All the principles are listed? below:

  • Beautiful is better than ugly.

    優(yōu)美勝于丑陋

  • 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.

    可讀性很重要

  • Special cases aren't special enough to break the rules.

    特例也不要特殊到打破這些規(guī)則

  • 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.

    應(yīng)該有一種更好直接的方法去做,這不太容易,畢竟你不是大佬

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

    命名空間很好,應(yīng)該多加使用

Reference link :

Zen of Python - Wikipedia

python之禪源代碼_python之禪 - 百度文庫 (baidu.com)

(It seems BiliBili does not support the link outside)




Zen of Python(Python編程 之禪)的評論 (共 條)

分享到微博請遵守國家法律
湘阴县| 即墨市| 怀远县| 静乐县| 德安县| 繁峙县| 封丘县| 牟定县| 深泽县| 兴隆县| 黎川县| 黑水县| 信宜市| 崇州市| 琼结县| 本溪市| 余江县| 郴州市| 茶陵县| 闸北区| 蓬溪县| 奉节县| 马山县| 丰顺县| 兴山县| 汶上县| 长葛市| 浦城县| 延寿县| 泊头市| 观塘区| 曲麻莱县| 九寨沟县| 修水县| 汶上县| 阳信县| 五台县| 沁水县| 曲靖市| 莱州市| 桓仁|