News for hackers. Stuff that matters.
Re:Things I Don’t Know as of 2018 by np_tedious on Saturday December 29, 2018 @10:21AM (#18783954)
I don't think many people actively working on front end will agree with passing closures as the best way. "callback hell" is a very common complaint.

What you've discussed above seems to overlap pretty well with both redux and monadic state management like Elm.

Re:Things I Don’t Know as of 2018 by np_tedious on Saturday December 29, 2018 @10:29AM (#18783994)
Hmm maybe elm isn't really monads. Tried to bullshit there, my bad. https://redux.js.org/introduction/prior-art#elm