12 ms·
Monadic futures are a fairly effective solution to the problem. No callback hell, just a clean linear flow of imperative looking non-blocking code that runs co
by zoomerang 12y ago
Monadic futures are a fairly effective solution to the problem.
No callback hell, just a clean linear flow of imperative looking non-blocking code that runs concurrently but still guarantees order of execution.
- seanmcdirmid 12y agoHaskell is nothing but indirect action (lazy evaluation...), which is why referential transparency is so important to the language.
- codygman 12y agoIn my experience referential transparency increases simplicity and readability in most languages.
- seanmcdirmid 12y agoYes, but so does keeping your code first order, avoiding callback functions even without the hazard of side effects.