Szczegóły ebooka

Python Object-Oriented Programming. Build robust and maintainable object-oriented Python applications and libraries - Fourth Edition

Python Object-Oriented Programming. Build robust and maintainable object-oriented Python applications and libraries - Fourth Edition

Steven F. Lott, Dusty Phillips

Ebook
Object-oriented programming (OOP) is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. Python Object-Oriented Programming, Fourth Edition dives deep into the various aspects of OOP, Python as an OOP language, common and advanced design patterns, and hands-on data manipulation and testing of more complex OOP systems. These concepts are consolidated by open-ended exercises, as well as a real-world case study at the end of every chapter, newly written for this edition. All example code is now compatible with Python 3.9+ syntax and has been updated with type hints for ease of learning.

Steven and Dusty provide a comprehensive, illustrative tour of important OOP concepts, such as inheritance, composition, and polymorphism, and explain how they work together with Python’s classes and data structures to facilitate good design. In addition, the book also features an in-depth look at Python’s exception handling and how functional programming intersects with OOP. Two very powerful automated testing systems, unittest and pytest, are introduced. The final chapter provides a detailed discussion of Python's concurrent programming ecosystem.

By the end of the book, you will have a thorough understanding of how to think about and apply object-oriented principles using Python syntax and be able to confidently create robust and reliable programs.
  • 1. Object-Oriented Design
  • 2. Objects in Python
  • 3. When Objects Are Alike
  • 4. Expecting the Unexpected
  • 5. When to Use Object-Oriented Programming
  • 6. Abstract Base Classes and Operator Overloading
  • 7. Python Data Structures
  • 8. The Intersection of Object-Oriented and Functional Programming
  • 9. Strings, Serialization, and File Paths
  • 10. The Iterator Pattern
  • 11. Common Design Patterns
  • 12. Advanced Design Patterns
  • 13. Testing Object-Oriented Programs
  • 14. Concurrency
  • Tytuł: Python Object-Oriented Programming. Build robust and maintainable object-oriented Python applications and libraries - Fourth Edition
  • Autor: Steven F. Lott, Dusty Phillips
  • Tytuł oryginału: Python Object-Oriented Programming. Build robust and maintainable object-oriented Python applications and libraries - Fourth Edition
  • ISBN: 9781801075237, 9781801075237
  • Data wydania: 2021-07-02
  • Format: Ebook
  • Identyfikator pozycji: e_2wwm
  • Wydawca: Packt Publishing