Join the Webinar “Three Paradigms For Method Inheritance”, with Reuven Lerner
No object-oriented programming language would be worth looking at or using if it didn’t support inheritance. Invented in 1969 for Simula, inheritance is the mechanism of deriving new classes from existing ones. By doing this, we get a hierarchy of classes. Python not only supports inheritance, but multiple inheritances as well.
In most class-based, object-oriented languages, an object created through inheritance (a “child object”) acquires all of the properties and behaviors of the parent object (though there are exceptions in some languages).
Inheritance allows programmers to create classes that are built upon existing classes, and this enables a class created through inheritance to inherit the attributes and methods of the parent class. This means that inheritance supports code reusability. The methods are inherited by the subclass. The relationships of objects or classes through inheritance give rise to a directed graph.
Inheritance may seem complex. But there are really only three ways to think about it. Reuven and Paul will explore these ideas, through the lens of a modern Python editor that puts the ideas to work. And of course, engage with the audience’s ideas and questions.
Date: May 26, 2021
Time: 5:00 pm – 6:00 pm CEST
About the presenter:
Reuven Lerner https://twitter.com/reuvenmlerner
Reuven Lerner is a full-time Python trainer. In a given year, he teaches courses at companies in the United States, Europe, Israel, India, and China, as well as to people around the world via his online courses.
Reuven created one of the first 100 websites in the world just after graduating from MIT’s Computer Science Department. Reuven’s monthly column appeared in the Linux Journal from 1996 until the magazine’s demise in 2019.
His most recent book is Python Workout (Manning), a collection of hands-on Python exercises with extensive explanations. Reuven’s free, weekly Better Developers newsletter, about Python and related topics, is read by over 20,000 developers around the globe.
Reuven has a bachelor’s degree in computer science and engineering from MIT and a PhD in learning sciences from Northwestern University. He lives in Modi’in, Israel, with his wife and three children.
Subscribe to Blog updates
Thanks, we've got you!
Live stream: Who Is Behind Django? An Interview with the DSF President
We’ve all seen and used the famous Django framework, but there’s a lot more to a successful project than commits. The Django Software Foundation is a hallmark achievement in the Python community, but who’s behind it? In this interview, we’ll be talking with DSF President Chaim Kirby about its histor…
Join the Webinar: Efficient Information Extraction From Text With spaCy
Learn how to process and analyze unstructured data with spaCy, a trending open-source library for advanced NLP in Python. Join our webinar on May 11 at 4 pm UTC.
“Building the tooling I wish I’d had”. An Interview With Charlie Marsh
Python has a rich ecosystem of quality, mature tooling: linters, formatters, type checkers, etc. Each of these has decent performance, but what if the tooling was fast? Like, really fast – as in, instantaneous? This is the argument posed by Charlie Marsh when he introduced Ruff: a linter with the…
Using PyCharm to Read Data From a MySQL DataBase Into pandas
Sooner or later in your data science journey, you’ll hit a point where you need to get data from a database. However, making the leap from reading a locally-stored CSV file into pandas to connecting to and querying databases can be a daunting task. In the first of a series of blog posts, we’ll explo…