PythonOOP
The Self Delusion: Visualizing Python's Invisible Hand
Finally understand Python's self keyword through an interactive puppet theater. Watch the invisible hand connect methods to objects in real-time.
December 6, 20248 min read
Loading...
Object-oriented programming in Python
4 posts
Finally understand Python's self keyword through an interactive puppet theater. Watch the invisible hand connect methods to objects in real-time.
Learn why Python's @property decorator eliminates the need for getters and setters. Interactive vending machine simulator shows encapsulation the Pythonic way.
Master Python dunder methods through an interactive social club simulator. Learn __init__, __str__, __repr__, operator overloading, and protocol-oriented programming.
Learn why composition beats inheritance in Python through an interactive robot workshop. Build modular code like Lego bricks, not glued-together messes.