
Beyond the Basic Stuff with Python Beyond the Basic Stuff with Python: Best Practices for Writing Clean Code provides a practical guide to leveling up your Python skills beyond syntax and isolated tips. Rather than focusing solely on language features, the book shows how to work like a professional programmer by using the command line and essential tools such as code formatters, type checkers, linters, and version control systems.
Al Sweigart walks readers through best practices for configuring a development environment, choosing clear and consistent names, and improving code readability, before exploring documentation, project organization, performance measurement, object-oriented design, and Big-O algorithm analysis commonly encountered in coding interviews.
Table of Contents
- Dealing with Errors and Asking for Help
- Environment Setup and the Command Line
- Code Formatting with Black
- Choosing Understandable Names
- Finding Code Smells
- Writing Pythonic Code
- Programming Jargon
- Common Python Gotchas
- Esoteric Python Oddities
- Writing Effective Functions
- Comments, Docstrings, and Type Hints
- Organizing Your Code Projects with Git
- Measuring Performance and Big O Algorithm Analysis
- Practice Projects
- Object-Oriented Programming and Classes
- Object-Oriented Programming and Inheritance
- Pythonic OOP: Properties and Dunder Methods
Read Online
Publisher: No Starch Press
Published: December 2020
Format(s): Online
File size: –
Number of pages: 384
Download / View Link(s): Online