Skip to content

2022

The strange relationship between objects, functions, generators and coroutines

Link: The strange relationship between objects, functions, generators and coroutines: "The strange relationship between objects, functions, generators and coroutines In this article, I’d like to investigate some relationships between functions, objects, generators and coroutines in Python. At a theoretical level, these are very different concepts, but because of Python’s dynamic nature, many of them can appear to be used interchangeably. I discuss useful applications of […]"