The Zen of Python
来源:互联网 发布:淘宝护肤品店铺范文 编辑:程序博客网 时间:2024/06/05 03:35
The Zen of Python, by Tim PetersBeautiful 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!
阅读全文
0 0
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- The Zen of Python
- DP入门 最佳加法表达式
- Springmvc @ResponseBody返回ajax数据时,报错406
- 【BZOJ】1087 [SCOI2005]互不侵犯King 状压DP(轮廓线DP)
- SpringMVC的406错误
- 了解Redis
- The Zen of Python
- Spring AOP面向切面编程
- hdu 6143 Killer Names 容斥||第二类斯特林数
- 理解RESTful架构
- 静态绑定与动态绑定
- java web Maven 打包.sh .bat执行脚本
- config
- 为了保证页面输出安全,我们经常需要对一些特殊的字符进行转义,请写一个函数escapeHtml,将<, >, &, “进行转义
- 「Python」python读写csv文件并增加行列