Last Updated: June 6, 2026
The classic Gang of Four patterns were written for C++ in 1994, and most of them grew up around problems that don't exist in Python: no first-class functions, no duck typing, no built-in iteration protocol, no context managers. Read those patterns in Python and many of them collapse to "use a function" or "the language already does this for you." A handful still apply, especially in larger codebases, and a few patterns have shapes that Python rewrites in a smaller form. This lesson covers which patterns still matter in Python, which ones become one line of code, and how to avoid dragging Java-shaped scaffolding into a language that doesn't need it.