November 7, 2023
When we use channels to serialize tasks, we create an asynchronous flow. It is easy to mess things up in asynchronous programming, especially if we have additional requirements like timeout and cancelation.
...
October 30, 2023
For some people, losing possibilities or choices in their lives, or having a heartfelt acceptance of fate, can be quite distasteful. It is best to always be in a state with infinite opportunities. Otherwise, surprisingly, they feel unsafe.
...
October 29, 2023
Most of these patterns have one thing in common, which is to connect producers and consumers through the interface. The abstraction of the interface is the key. It reflects a deep understanding of the underlying type. Knowing this can simply things, no matter what scenario we are dealing with, or what language is being used.
...