Writing

Technical notes on software engineering, architecture, and developer tools.

Python · asyncio

Python Asynchronous Programming #1: What Does Asynchronous Mean?

An introduction to synchronous and asynchronous work, and how concurrency relates to threads.
Python · contextlib · architecture

Mastering Python Context Managers: from with Statements to contextlib

Understand resource management in Python, implementing custom context managers via __enter__/__exit__, the @contextmanager decorator, and async contexts.