YoVDO

From Diamonds to Mixins: Demystifying Multiple Inheritance in Python

Offered By: EuroPython Conference via YouTube

Tags

Python Courses Object-oriented programming Courses Inheritance Courses Multiple Inheritance Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of multiple inheritance in Python through this 31-minute conference talk from EuroPython 2024. Delve into the "diamond problem" and compare Python's approach to other object-oriented languages. Examine the Method Resolution Order (MRO) and its role in determining class hierarchy for method and attribute searches. Learn about the `super()` function and its importance in adhering to the MRO. Investigate real-world scenarios showcasing the benefits, challenges, and alternatives to multiple inheritance. Discover the concept of mixins and their effective implementation in Python. Conclude by exploring the Interface Segregation Principle and how collaboration and composition can help avoid inheritance-related pitfalls.

Syllabus

From Diamonds to Mixins: Demystifying Multiple Inheritance in Python — Ariel Ortiz


Taught by

EuroPython Conference

Related Courses

Design Computing: 3D Modeling in Rhinoceros with Python/Rhinoscript
University of Michigan via Coursera
A Practical Introduction to Test-Driven Development
LearnQuest via Coursera
FinTech for Finance and Business Leaders
ACCA via edX
Access Bioinformatics Databases with Biopython
Coursera Project Network via Coursera
Accounting Data Analytics
University of Illinois at Urbana-Champaign via Coursera