Conf42: Python 2021


Whose Method Is It Anyway?

Jason C. McDonald
CEO @ MousePaw Media

Jason C. McDonald's LinkedIn account Jason C. McDonald's twitter account

The very thought of multiple inheritance inspires fear and loathing in many programming languages, but not in Python! In this emoji-powered talk, you’ll learn how Python uses the method resolution order to handle multiple inheritance, and how to put this to work for you.

Python does a shockingly good job at handling multiple inheritance. In this emoji-powered talk, learn how Python figures out what method to call in a multiple inheritance situation. Armed with this knowledge, you’ll be prepared to swing in as the hero the next time your team is scratching their head and asking “why’s THAT code getting run??”

In the second half of this talk, you’ll learn how to actually USE multiple inheritance, in the form of mixins, to make your code easier to maintain.

Awesome tech events for

Priority access to all content

Community Discord

Exclusive promotions and giveaways