刚又重看了一遍电影美丽人生,在残酷的集中营里,Guido给了自己孩子美好的童年,让人不禁会心一笑,Italian真是骨子里的幽默,主人公竟然也叫基多,真的跟我们python的龟叔撞名了,看来叫基多的都蛮聪明的哈?让我又想起了我们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!
我们写python程序的时候可能会碰到很多挫折,学习过程可能痛苦,但是这也是生活的一部分,希望能早日写出beautiful的代码,计算机让我们打破了上帝建造的通天塔,code是全人类的语言,希望有一天用代码把先贤的精神传递到世界其他角落,让更多人了解和热爱中华文化。