In this video, you’ll learn what object-oriented programming (OOP) is and why it’s used.
Lots of popular frameworks and libraries are written using OOP, so it’s a good tool to have in your Python toolkit.
OOP is a programming paradigm, or a specific way of designing a program. It allows us to think of the data in our program in terms of real-world objects, with both properties and behaviors. These objects can be passed around throughout our program.
Properties define the state of the object. This is the data that the object stores. This data can be a built-in type like
int, or even our own custom types we’ll create later.
Behaviors are the actions our object can take. Oftentimes, this involves using or modifying the properties of our object.
Peter T on March 22, 2019
Austin did an excellent job of clearly explaining the various OOP topics in all 7 videos, without leaving any gaps or questions. Now, I’m anxiously waiting for the next set of OOP videos to continue to this course & I hope they show up soon. IMHO, there aren’t enough OOP topics in realpython.com or dbader.org, but there are tons of other Python-related topics in both sites!