InPython in Plain EnglishbyHeval Hazal Kurt·Mar 25Encapsulation and Domain-Driven Design in Python ProjectsWhen you hear the word “encapsulation”, you might think of private variables or hiding attributes in classes. And that’s partly true. But…
InPython in Plain EnglishbyHeval Hazal Kurt·Dec 3, 2025Why Composition Beats Inheritance in Large-Scale Python SystemsWhen you start out learning object-oriented programming (OOP) in Python, inheritance feels like the obvious way to reuse code. You build a…
InPython in Plain EnglishbyHeval Hazal Kurt·Nov 3, 2025Designing Retryable Asynchronous APIs Using functools.partial and Custom DecoratorsIn the world of building reliable backend systems, things break. APIs timeout, services become temporarily unavailable, and database…
InPython in Plain EnglishbyHeval Hazal Kurt·Oct 28, 2025The Art of Scope Management in Modular Python DesignWhen you work on a large Python codebase, especially in backend projects using Django, FastAPI, or Flask, you probably see the chaos that…
InPython in Plain EnglishbyHeval Hazal Kurt·Sep 30, 2025Slotted classes with __slots__ in PythonWhen we build backend systems in Python, performance isn’t always our first concern. But sometimes, especially when you have thousands or…
Heval Hazal Kurt·Sep 25, 2025How the GIL Affects Real Python WorkloadsIf you’ve ever tried to speed up your Python application by adding threads, only to see… nothing change. Well, welcome to the world of the…
Heval Hazal Kurt·Sep 22, 2025Implementing Singleton with Async/Await in PythonThe Singleton pattern is one of the most well-known design patterns in software development. It ensures that a class has only one instance…
Heval Hazal Kurt·Jul 17, 2025Understanding Async Context Managers in PythonWhen working with asynchronous code in Python, you’re probably familiar with async def, await, and maybe even tools like aiohttp or…
Heval Hazal Kurt·Jul 11, 2025Behind the Underscores EP13: Metaprogramming Methods (__class__, __bases__, __mro__…Metaprogramming in Python is like programming about programming. It means writing code that can change how other code behaves. Sounds deep…
Heval Hazal Kurt·Jul 10, 2025Behind the Underscores EP12: Descriptor Protocol (__get__, __set__, __delete__)Python is full of powerful features that let you write clean, reusable, and elegant code. One of these features, often misunderstood or…