How to Make Mistakes in Python?

简介:
即使是最优秀的程序员也会犯错,而经验丰富的程序员Mike Pirnat在Python的15年时间里也做出了自己的成绩。有些人既简单又愚蠢; 其他人则令人尴尬且代价高昂。在O'Reilly的这份报告中,他剖析了一些最令人难忘的失误,将它们逐层剥离,以揭示出哪里出了问题。
例如,您可以安装每个看起来有趣的第三方软件包,并最终得到一个纠结的混乱,没有什么工作正确。或者你可以写一个测试,设法打破构建。迈克两者都做了,而且做得更多。通过避免这些失误,你可以自由地犯真正重大的错误 -- 那些推进编程艺术的错误。
设置: 不谨慎准备的环境的弊病愚蠢的事情: 琐碎的错误浪费了不成比例的能量风格: 糟糕的风格决定阻碍了可读性结构: 以使更改更加困难的方式组装代码惊喜: 那些只有时间才能从OMG变成LOL的令人震惊的谜团
英文简介:
Even the best programmers make mistakes, and experienced programmer Mike Pirnat has made his share during 15+ years with Python. Some have been simple and silly; others were embarrassing and downright costly. In this O’Reilly report, he dissects some of his most memorable blunders, peeling them back layer-by-layer to reveal just what went wrong.
For example, you could install every third-party package that looks interesting and end up with a tangled mess where nothing works right. Or you could write a test that manages to break the build. Mike’s done both and so much more. By avoiding these missteps, you’ll be free to make truly significant mistakes—the ones that advance the art of programming.
Setup: the ills of an incautiously prepared environmentSilly things: trivial mistakes that waste a disproportionate amount of energyStyle: poor stylistic decisions that impede readabilityStructure: assembling code in ways that make change more difficultSurprises: those shocking mysteries that only time can turn from OMG to LOL
- 书名
- How to Make Mistakes in Python?
- 译名
- 如何在 Python 中犯错误?
- 语言
- 英语
- 年份
- 2015
- 页数
- 82页
- 大小
- 1.80 MB
- 标签
- Python
- 下载
How to Make Mistakes in Python?.pdf
- 密码
- 65536
最后更新:2025-04-12 23:54:38
←Python Notes for Professionals
→Fast Lane to Python A quick, sensible route to the joys of Python coding