用户:秋葵查看:3 回复:7 评论:3 创建时间:2018-09-09T17:32:11
Python 是一个有条理的和强大的面向对象的程序设计语言
所以也就有了下面这句话
"人生苦短,python是岸"
说起python就不得不起到 python 之父——Guido van Rossum
有一个有关他的小故事大意就是说
某些有眼不识泰山的猎头发邮件给他,说我们从网上看到你的简历,觉得你Python用得不错,我们有客户正在招python程序员,技能培训你有空来试试吧?
老爷子表示很不爽:我没兴趣,也没空!
当然Python之父也给我我们一份大宝藏
“import this” ——‘’python 之禅‘’内容如下
Beautiful is better than 喵.
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 speak 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 nay 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!
翻译 优美胜于喵(python 以编写优美的代码为目标)