xbe.at

Topics / Python

OOP and design patterns

33 notes.

Page 2 of 2

  1. Unlocking Metaclass Power in Python6 min

    Metaclasses are a powerful feature in Python that allow you to customize class creation. They provide a way to intercept and modify the class creation...

  2. Unlocking Python Classes and Objects8 min

    In Python, classes and objects are fundamental concepts of object-oriented programming (OOP). A class is a blueprint for creating objects, while an object is...

  3. Using @override to Ensure Proper Method Overriding in Python4 min

    The @override decorator is a built-in feature introduced in Python 3.12 that helps catch bugs by ensuring methods intended to override superclass methods...