ZenofPython(python之禅)-创新互联

在python中导入import this就会显式:

让客户满意是我们工作的目标,不断超越客户的期望值来自于我们对这个行业的热爱。我们立志把好的技术通过有效、简单的方式提供给客户,将通过不懈努力成为客户在信息化领域值得信任、有价值的长期合作伙伴,公司提供的服务项目有:域名注册、网络空间、营销软件、网站建设、南海网站维护、网站推广。

以下是中文英文翻译:

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.

虽然这种方案并不是显而易见的,因为你不是那个荷兰人[Python之父Guido]

Now is better than never.

现在开始做比不做好

Although never is often better than *right* now.

不做比盲目去做好[极限编程中的YAGNI原则]

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!

命名空间非常有用,我们应当多加利用

你是否还在寻找稳定的海外服务器提供商?创新互联www.cdcxhl.cn海外机房具备T级流量清洗系统配攻击溯源,准确流量调度确保服务器高可用性,企业级服务器适合批量采购,新人活动首月15元起,快前往官网查看详情吧


网站标题:ZenofPython(python之禅)-创新互联
标题链接:http://ybzwz.com/article/ddegoo.html