News for hackers. Stuff that matters.
Re:Introduction to the Pony programming language by zzzcpan on Thursday May 31, 2018 @10:21AM (#17196481)
I get it, it's like event driven programming with static event handlers per actor. Where you can't express a wait for a specific message directly in the body of the function. But you still have to do it somehow, which is what my question was about, how do people do it in Pony. Typically in event driven systems to do this either nested callbacks are used or higher order programming (futures/promises, etc).
Re:Introduction to the Pony programming language by spooneybarger on Thursday May 31, 2018 @10:24AM (#17196519)
You can use callbacks, state machines, promises. All are available as options to use.