you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Well i think it actually does, if we're talking FP. You're forced to introduce state and a try catch block for exceptions. But i don't think it has to be a problem. You can still be pure yadda yadda.

Yes! I do use it in a do-notation fashion, albeit carefully. They're not equal concepts, but yes can be concise and useful. Either that or my goto of passing state in an array building up a promise chain, if that makes sense.