Robust Python: Write Clean and Maintainable Code

Robust Python: Write Clean and Maintainable Code

作者: Viafore Patrick
出版社: O'Reilly
出版在: 2021-08-03
ISBN-13: 9781098100667
ISBN-10: 1098100662
裝訂格式: Quality Paper - also called trade paper
總頁數: 380 頁





內容描述


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


作者介紹


Patrick Viafore has been working in the software industry for 13] years, working on mission critical software systems, including in lightning detection, telecommunications and operating systems. His work in static typed languages has influenced his approach to dynamic languages and how we can make them safer and more robust. He also is an organizer of the HSV.py meetup, where he can observe common Python obstacles, from beginners to experts. His goal is to make computer science/software engineering topics more approachable to the developer community.
Patrick currently works at Canonical, developing pipelines/tools to deploy Ubuntu images to public cloud providers. He also does software consulting and contracting through his business Kudzera, LLC.




相關書籍

Artificial Intelligence: A Modern Approach, 4/e (美國原版)

作者 Russell Stuart Norvig Peter

2021-08-03

獨角獸創業勝經:大數據分析200+家新創帝國,從創造、轉折、募資到衝破市場,揭開成功的真正關鍵

作者 Ali Tamaseb 吳慕書 游懿萱 譯

2021-08-03

Hands-On Artificial Intelligence for IoT: Expert machine learning and deep learning techniques for developing smarter IoT systems

作者 Amita Kapoor

2021-08-03