Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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