Description
Beyond the Basic Stuff with Python : Best Practices for Writing Clean Code
Al Sweigart
On Sale Date: December 16, 2020
9781593279660, 1593279663
Trade Paperback
Computers / Languages / Python
384 pages
Take your Python skills to the next level with Al Sweigart's Beyond the Basic Stuff with Python: Best Practices for Writing Clean Code. This book is designed for programmers who have completed a beginner's Python tutorial or have worked through Al Sweigart's popular "Automate the Boring Stuff with Python" and are ready to bridge the gap between novice and professional.
Beyond the Basic Stuff with Python goes beyond simply teaching advanced syntax. It equips you with the essential skills and tools to write clean, maintainable, and Pythonic code. You'll learn how to leverage the command line and professional development tools like:
- Code formatters (e.g., Black)
- Type checkers
- Linters
- Version control
Sweigart guides you through best practices for:
- Setting up your development environment
- Naming variables effectively
- Improving code readability
- Writing clear documentation
- Structuring code projects
- Measuring code performance
You'll also delve into object-oriented design principles and explore the concepts of Big-O algorithm analysis, a crucial skill for coding interviews.
Toward the end of the book, you'll gain a deeper understanding of how these best practices are applied by examining the source code of two classic command-line games: the Tower of Hanoi and Four-in-a-Row.
Beyond the Basic Stuff with Python empowers you to write not just functional code, but code that is elegant, efficient, and easy for others (and your future self) to understand.
Key benefits of Beyond the Basic Stuff with Python:
- Bridge to Professionalism: Helps you transition from beginner to competent Python developer.
- Clean Code Practices: Teaches how to write readable, maintainable, and Pythonic code.
- Essential Development Tools: Introduces industry-standard tools and techniques.
- Advanced Concepts: Covers object-oriented design and algorithm analysis.
- Practical Examples: Demonstrates best practices through real-world code examples.
If you're serious about becoming a proficient Python programmer, Beyond the Basic Stuff with Python is your indispensable guide.