国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

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

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.

    簡(jiǎn)單勝于復(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.

    實(shí)用比簡(jiǎn)潔重要

  • Errors should never pass silently.

  • Unless explicitly silenced.

    除非必要,不要忽視異常

  • In the face of ambiguity, refuse the temptation to guess.

    面對(duì)模棱兩可,避免瞎猜

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

    做也許好過(guò)于不做,但蠻干往往不如不干

  • 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之禪 - 百度文庫(kù) (baidu.com)

(It seems BiliBili does not support the link outside)




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

分享到微博請(qǐng)遵守國(guó)家法律
南部县| 陆丰市| 威远县| 玉环县| 平原县| 永福县| 昭平县| 乃东县| 临夏市| 宜君县| 五家渠市| 内丘县| 新竹市| 永年县| 仙游县| 阜南县| 长宁区| 平泉县| 高碑店市| 奈曼旗| 达尔| 八宿县| 普兰县| 大方县| 栾川县| 龙江县| 棋牌| 柞水县| 涪陵区| 会同县| 嘉兴市| 张家川| 三亚市| 卫辉市| 鹿泉市| 呈贡县| 鄂州市| 四子王旗| 武功县| 江西省| 北川|