标题: The Zen of Python [打印本页] 作者: haichao 时间: 2019-10-16 20:02 标题: The Zen of Python 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!作者: 晨大喵 时间: 2019-10-17 15:19
加油呀~希望你能在这里成长作者: 草鱼儿 时间: 2019-10-17 16:52
加油呀~成为更好的自己作者: xiaowang66 时间: 2019-10-17 16:59
加油呀 作者: 魔都黑马少年梦 时间: 2019-10-17 17:07
很棒,超级棒作者: 放荡的人生 时间: 2019-10-17 17:20
很棒,超级棒作者: 小影姐姐 时间: 2019-10-24 17:29