Robust Python: Write Clean and Maintainable Code


Robust Python: Write Clean and Maintainable Code
by: Patrick Viafore
Publisher Finelybook 出版社:O’Reilly Media; 1st edition (August 3, 2021)
Language 语言:English
pages 页数:380 pages
ISBN-10 书号:1098100662
ISBN-13 书号:9781098100667

Book Description
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

王者特权隐藏内容需2积分,请先!没有帐号? 注 册 一个!
赞(0) 觉得文章有用就打赏一下
未经允许不得转载:finelybook » Robust Python: Write Clean and Maintainable Code

觉得文章有用就打赏一下

支付宝扫一扫打赏

微信扫一扫打赏