We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Tutorials - Mike Müller: The How and Why of Object-oriented Programming in Python
Explore the fundamentals of object-oriented programming in Python with Mike Müller, covering classes, inheritance, composition, operator overloading, and more, getting you started with developing robust and reusable code.
- OOP is used to create a model of real-world objects, making it easier to design and write programs.
- A class is a blueprint for creating objects.
- Inheritance allows you to create a child class that inherits properties from a parent class.
- Composition is a relationship where one object owns another object.
- Object-oriented programming (OOP) helps in organizing code and making it reusable.
- A class can have properties (data) and methods (functions).
- Operator overloading is used to define what operations can be performed on an object.
- Objects of the same class can be treated as if they were the same object, but with different data.
- Method resolution order (MRO) is the order in which Python looks for methods in a class or subclass.
- Prototyping is a way of developing a system by creating a first version and then refining it based on feedback.
- Functional programming is a different programming paradigm that focuses on the use of pure functions, immutability, and recursion.
- Declarative programming is a way of writing code that focuses on what the code should do, rather than how it should do it.