Members-Only Deals – Sign Up & Save Instantly!
Python Clean Code Best Practices - Beyond Basics for Developers
Python Clean Code Best Practices - Beyond Basics for Developers

Python Clean Code Best Practices - Beyond Basics for Developers

$21.88 $29.18 -25% OFF

Free shipping on all orders over $50

7-15 days international

28 people viewing this product right now!

30-day free returns

Secure checkout

64443578

Guranteed safe checkout
amex
paypal
discover
mastercard
visa
apple pay

Description

BRIDGE THE GAP BETWEEN NOVICE AND PROFESSIONALYou'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 codeCommon sources of bugs, and how to detect them with static analyzersHow to structure the files in your code projects with the Cookiecutter template toolFunctional programming techniques like lambda and higher-order functionsHow to profile the speed of your code with Python's built-in timeit and cProfile modulesThe computer science behind Big-O algorithm analysisHow to make your comments and docstrings informative, and how often to write themHow 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.Of course, no single book can make you a professional software developer. But Beyond the Basic Stuff with Python will get you further down that path and make you a better programmer, as you learn to write readable code that's easy to debug and perfectly PythonicRequirements: Covers Python 3.6 and higher

Reviews

******
- Verified Buyer
I read this immediately after Python Crash Course. I experimented with Python about 20 years ago and now I'm back with it (and far more serious about it). There are a lot of interesting little nuances to be aware of, especially as you continue to develop larger, more in-depth code. That's what this book is. You'll get to see some of the back-end of how Python interprets code so you can avoid certain errors that would probably drive you absolutely nuts in debugging (enough of that will happen with your programming experience, you don't want to add to it).The other benefit of this book is to learn how to write "clean", "pythonic" code. There are general conventions that professional software developers use that you will want to use from the beginning so you don't develop bad habits. If you've already done development, some of it may be a repeat for you and you'll simply skim past. If you're new to professional software development, you'll find this extremely helpful.Keep in mind that the book does run through numerous applications of Python. It's a versatile language. You may have very specific needs and certain parts of the book may not pertain to you. Also, if you're just writing short scripts, this may not necessarily be for you (although you may want to pick up good habits if you think you might expand your use of Python later).