|
|
|
|
|
by jfmengels1
1970 days ago
|
|
In pure functional languages (at least in Elm), what happens is that you have data that describes what should be done, instead of doing it directly. is talk called "Effects as Data" describing that idea: https://www.youtube.com/watch?v=6EdXaWfoslc |
|
Separate the thing you want done from the doing it, because when you intermingle the doing-the-thing it greatly complications the scheduling logic. Think of it as a working programmers io monad.