Beyond the Basic Stuff with Python: Best Practices for Writing Clean Code

Beyond the Basic Stuff with Python: Best Practices for Writing Clean Code pdf

意见:

817

语:

英语

评分:

0

部门:

技术

页数:

755

部分:

编程

文件大小:

5743516 MB

书籍质量 :

出色的

下载一本书:

36

通知

由于网站正在更新,下载将暂时停止,直至更新完成 [email protected]

艾尔·斯威加特 是居住在休斯顿的软件开发人员和技术书籍作者。 他为初学者写了几本编程书籍,包括用 Python 自动化无聊的东西。 他的书可以在他的网站上根据知识共享许可免费获得。

书的描述

Beyond the Basic Stuff with Python: Best Practices for Writing Clean Code pdf 艾尔·斯威加特

You've completed a basic Python programming tutorial or finished Al Sweigart's bestseller, Automate the Boring Stuff with Python. What's the next step toward becoming a capable, confident software developer?
Welcome to Beyond the Basic Stuff with Python. More than a mere collection of advanced syntax and masterful tips for writing clean code, you'll learn how to advance your Python programming skills by using the command line and other professional tools like code formatters, type checkers, linters, and version control. Sweigart takes you through best practices for setting up your development environment, naming variables, and improving readability, then tackles documentation, organization and performance measurement, as well as object-oriented design and the Big-O algorithm analysis commonly used in coding interviews. The skills you learn will boost your ability to program--not just in Python but in any language.
You'll learn:
- 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

Toward the end of the book you'll read a detailed source-code breakdown of two classic command-line games, the Tower of Hanoi (a logic puzzle) and Four-in-a-Row (a two-player tile-dropping game), and a breakdown of how their code follows the book's best practices. You'll test your skills by implementing the program yourself.

书评

0

out of

5 stars

0

0

0

0

0

Book Quotes

Top rated
Latest
Quote
there are not any quotes

there are not any quotes

更多书籍 艾尔·斯威加特

Invent Your Own Computer Games With Python
Invent Your Own Computer Games With Python
编程
899
English
艾尔·斯威加特
Invent Your Own Computer Games With Python pdf 艾尔·斯威加特
Hacking Secret Ciphers with Python
Hacking Secret Ciphers with Python
黑客
957
English
艾尔·斯威加特
Hacking Secret Ciphers with Python pdf 艾尔·斯威加特
Making Games with Python & Pygame
Making Games with Python & Pygame
编程
992
English
艾尔·斯威加特
Making Games with Python & Pygame pdf 艾尔·斯威加特
Automate the Boring Stuff with Python
Automate the Boring Stuff with Python
编程
1408
English
艾尔·斯威加特
Automate the Boring Stuff with Python pdf 艾尔·斯威加特

更多书籍 编程

Creating Mobile Apps with Sencha Touch 2
Creating Mobile Apps with Sencha Touch 2
1120
English
约翰·厄尔·克拉克
Creating Mobile Apps with Sencha Touch 2 pdf 约翰·厄尔·克拉克
Sencha Touch 2 Mobile JavaScript Framework
Sencha Touch 2 Mobile JavaScript Framework
922
English
约翰·厄尔·克拉克
Sencha Touch 2 Mobile JavaScript Framework pdf 约翰·厄尔·克拉克
Sencha Touch Mobile JavaScript Framework
Sencha Touch Mobile JavaScript Framework
1051
English
约翰·厄尔·克拉克
Sencha Touch Mobile JavaScript Framework pdf 约翰·厄尔·克拉克
Advanced R
Advanced R
1771
English
哈德利·威克姆
Advanced R pdf 哈德利·威克姆

Add Comment

Authentication required

You must log in to post a comment.

Log in
There are no comments yet.