52ky 发表于 2021-8-28 09:37:42

Beyond the Basic Stuff with Python

- 编码风格,以及如何使用 Python 的 Black 自动格式化工具来获得更清晰的代码
- 错误的常见来源,以及如何使用静态分析器检测它们
- 如何使用 Cookiecutter 模板工具构建代码项目中的文件
- 函数式编程技术,如 lambda 和高阶函数
- 如何使用 Python 的内置 timeit 和 cProfile 模块分析代码的速度
- Big-O 算法分析背后的计算机科学
- 如何使您的评论和文档字符串信息丰富,以及多久写一次
- 如何在面向对象编程中创建类,以及为什么使用它们来组织代码

(- Coding style, and how to use Python's Black auto-formatting tool for cleaner code
- Common sources of bugs, and how to detect them with static analyzers
- How to structure the files in your code projects with the Cookiecutter template tool
- Functional programming techniques like lambda and higher-order functions
- How to profile the speed of your code with Python's built-in timeit and cProfile modules
- The computer science behind Big-O algorithm analysis
- How to make your comments and docstrings informative, and how often to write them
- How to create classes in object-oriented programming, and why they're used to organize code)

页: [1]
查看完整版本: Beyond the Basic Stuff with Python