#oop
- 11 Dec 2023 · Study
C++ · OOP: inheritance and virtual functions
Public inheritance, virtual functions and runtime polymorphism, override, pure virtual (abstract) classes, and virtual destructors.
- 6 Dec 2023 · Study
C++ · OOP: classes and constructors
Classes with public/private members, constructors with initialiser lists, const member functions, and destructors.
- 11 Oct 2023 · Study
Python · OOP: inheritance and dunder methods
Subclassing with super(), method overriding, and dunder methods (__repr__, __eq__, __len__, __add__) that plug objects into Python syntax.
- 6 Oct 2023 · Study
Python · OOP: classes and objects
Defining classes, __init__ and self, instance vs class attributes, methods, and properties.