3 ms·
Separating the IO from the rest of the program is always a good practice, that we keep rediscovering. E.G: - UI in React are trying to be just rendering funct
by BiteCode_dev 7y ago
Separating the IO from the rest of the program is always a good practice, that we keep rediscovering.
E.G:
- UI in React are trying to be just rendering functions with one input and one output. Even more so with hooks.
- in python, there is a new trend of providing "Sans I/O" (https://sans-io.readthedocs.io/ https://sans-io.readthedocs.io/), and async/await are not just keywords, but a generic protocol created to delegate I/O to something from outside your code.
It's interesting to see that on very old systems, even the hardware was organized that way.