Message from JavaScript discussions

April 2017

— Mostly in systems handling state

— 

Ie a game loop, facebook, and other non-concurrent systems where state is handled in bursts of mutation/batched operations

— Promises can be used there quite a bit and are a cornerstone of all that is good about functional programming

Message permanent page

— At least in js, haha

— I hesitate to call anything in js a "cornerstone of good X" in general, if you catch my drift :p

— All a promise is, is a continuation monad

— And THAT is a cornerstone of good functional programming itself, not quite any specific implementation of it

Message permanent page

— Https://en.wikipedia.org/wiki/Continuation-passing_style

— Floofies I'm working on the stuff I started yesterday

— I recoded it

— I'm getting funny with that

— Mastering promises can change allll your code :D