3 ms·
> For the benefit of any who are not sure what you are talking about, could you please elaborate on what some of these "better ways to handle that" are? While
by AdieuToLogic 11y ago
> For the benefit of any who are not sure what you are talking about, could you please elaborate on what some of these "better ways to handle that" are?
While I am not certain what the GP specifically references, I can say that about 40 years ago the Actor model[1] was officially documented. The literature documenting benefits of an Actor model over a callback approach are easily found. For understanding the pain which callback-based systems often produce, a person can familiarize themselves with the Win32 API (disclaimer: this is a masochistic exercise not recommended for anyone).
1 - https://www.cypherpunks.to/erights/history/actors/AIM-410.pdf https://www.cypherpunks.to/erights/history/actors/AIM-410.pd...
- pdpi 11y agoEven if you don't go the actor route, if you're going to use continuation passing style as much as Node wants you to, having a language with better CPS support would be much nicer