Behind the Underscores EP02: Object Initialization and Construction Methods

PROGRAMMING

May 11, 2025

Explore the advanced roles of __new__, __init__, and __del__ in Python. Learn when to use each, how they impact object lifecycle, and how to apply them in real-world scenarios like Singletons and immutable types.

Behind the Underscores EP01: Understanding Python’s Special Methods Conceptually

PROGRAMMING

May 10, 2025

We’re starting the Behind The Underscores series by looking at the big picture, where we’ll examine the private methods of Python classes in depth.

The Danger of Overusing is Instead of == in Python

PROGRAMMING

May 09, 2025

Learn why using is instead of == in Python can cause unexpected bugs. This post explains the difference and shows when each should be used.

Keys to Mastering Python Method Decorators

PROGRAMMING

May 07, 2025

Learn when and why to use Python's @classmethod, @staticmethod, and @property decorators to optimize your code design.

Creating Declarative APIs with Class Decorators in Python

PROGRAMMING

May 07, 2025

Build smarter, cleaner, declarative, and powerful Python APIs with class decorators.