Jump to ratings and reviews
Rate this book

Robust Python: Write Clean and Maintainable Code

Rate this book
Does it seem like your Python projects are getting bigger and bigger? Are you feeling the pain as your codebase expands and gets tougher to debug and maintain? Python is an easy language to learn and use, but that also means systems can quickly grow beyond comprehension. Thankfully, Python has features to help developers overcome maintainability woes.

In this practical book, author Patrick Viafore shows you how to use Python's type system to the max. You'll look at user-defined types, such as classes and enums, and Python's type hinting system. You'll also learn how to make Python extensible and how to use a comprehensive testing strategy as a safety net. With these tips and techniques, you'll write clearer and more maintainable code.

Learn why types are essential in modern development ecosystems
Understand how type choices such as classes, dictionaries, and enums reflect specific intents
Make Python extensible for the future without adding bloat
Use popular Python tools to increase the safety and robustness of your codebase
Evaluate current code to detect common maintainability gotchas
Build a safety net around your codebase with linters and tests

378 pages, Paperback

Published August 17, 2021

Loading...
Loading...

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
63 (52%)
4 stars
35 (29%)
3 stars
14 (11%)
2 stars
4 (3%)
1 star
3 (2%)
Displaying 1 - 2 of 2 reviews
Profile Image for Nickolai.
986 reviews8 followers
April 7, 2024
В целом, книга неплохая и содержит достаточно много полезной теоретической информации и интересных примеров. Недостатка, на мой взгляд, два. Во-первых, слишком затянутый и излишне подробный раздел про типизацию. И во-вторых, немного странная структура остальных разделов. Часто вызывало удивление, как автор от одной темы переходит в следующей главе к совершенно с ней не связанной другой теме, а потом через несколько глав снова приближается к первой. Такое мельтешение несколько напрягало.
Profile Image for AbduLlah.
18 reviews
October 5, 2024
Вообще не понравилась книга, никакой практической пользы, какие-то общие слова и тонны воды. Гораздо больше зашла книжка High Performance Python.
Displaying 1 - 2 of 2 reviews