InAlgoMartbyYash Jain·Nov 15, 2025Why you should learn __new__ vs __init__ in PythonUnderstanding the difference between __new__ and __init__ is more than trivia. It’s essential for writing robust, predictable…
InAlgoMartbyYash Jain·Nov 14, 2025The Quiet Power of __slots__ and __new__ in PythonIf you’ve been writing Python for a while and never touched __slots__ or __new__, that’s fine — totally normal.A response icon1
InAlgoMartbyYash Jain·Nov 1, 2025Python Dunder Methods: The Real Reason Behind the UnderscoresIn Python, most of what a programmer needs happens right up front — types, classes, exceptions, functions — but buried inside the core of…
Mojtaba (MJ) Michael·Jun 2, 2025Understanding Python Dunder Methods: The Magic Behind Your ObjectsPython is a beautifully expressive and flexible programming language. One of its powerful features is the use of dunder methods — methods…