0/1 уроков (0%)
– из 1
Subclassing, Composition, Python, and You
YouTube·EuroPython
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.