AI Adoption - Drive Business Value and Organizational Impact
Foundations for Product Management Success
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the nuances of subclassing and composition in Python during this 45-minute conference talk from EuroPython 2023. Delve into the age-old debate of inheritance versus composition, examining how strict adherence to either approach can lead to challenges in code design. Discover the various types of subclassing through a Pythonic perspective, and learn to identify patterns and trade-offs in object-oriented programming. Gain confidence in making informed decisions about when to use subclassing for more Pythonic code and when composition can enhance clarity. Leave with a balanced, dogma-free understanding of these fundamental concepts to improve your Python programming skills.
Syllabus
Subclassing, Composition, Python, and You — Hynek Schlawack
Taught by
EuroPython Conference