The Real Python Podcast cover image

Selecting Inheritance or Composition in Python

The Real Python Podcast

00:00

Inheritance vs Composition in Python

This chapter explores the differences between inheritance and composition in Python programming, particularly within concurrency libraries. It discusses the implications of each approach for code flexibility, maintainability, and debugging, while introducing tools like HTML-2 and Curlify to aid developers. The speaker emphasizes practical experience and real code examples for a deeper understanding of these design choices.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app