Beyond the Basic Stuff with Python
Best Practices for Writing Clean Code
Sinopsis
Youve completed a basic Python programming tutorial or finished Al Sweigarts bestseller, Automate the Boring Stuff with Python. Whats 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, youll 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.
Youll learn:
Coding style, and how to use Pythons 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 Pythons 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 theyre used to organize code
Toward the end of the book youll 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 books best practices. Youll 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 thats easy to debug and perfectly Pythonic
Requirements: Covers Python 3.6 and higher
Léelo en cualquier dispositivo
* ¿Cómo conseguir tu eBook gratis?
Aproximadamente una semana después de la compra, recibirás un correo electrónico con un código promocional. Para canjearlo, solo tendrás que añadir el eBook La casa de las amapolas al carrito en casadellibro.com e introducir el código recibido en el momento del pago para que el eBook te salga gratis.
El código tiene una validez de dos semanas desde su recepción. Pasado ese plazo, caducará. Solo puede utilizarse una vez.
La promoción es válida para pedidos realizados en casadellibro.com
Si compras el dispositivo en nuestras librerías, podrás conseguir tu eBook gratis solo si eres Socio.
Ficha Técnica
Editorial: No Starch Press
ISBN: 9781593279677
Idioma: Inglés
Fecha de lanzamiento: 22/12/2020
Especificaciones del producto
Recibe novedades de Al Sweigart directamente en tu email
Reseñas sobre Beyond the Basic Stuff with Python
Comparte tu experiencia con la comunidad lectora.
0 Reseñas
Sólo por opinar entras en el sorteo mensual de tres tarjetas regalo valoradas en
20€