Автор: Patrick Viafore
Издательство: O’Reilly Media
Год: 2021-05-19: Seventh Release
Формат: ePUB
Размер: 10 Mb
Язык: English
Does it seem like your Python projects are getting bigger and bigger? Are you feeling the pain as your codebase grows 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.