3 ms·
Hands down, the best (free, no email) resource to learn Effect is here https://www.typeonce.dev/course/effect-beginners-complete-getting-started https://www.typ
by obeavs 2y ago
Hands down, the best (free, no email) resource to learn Effect is here https://www.typeonce.dev/course/effect-beginners-complete-getting-started https://www.typeonce.dev/course/effect-beginners-complete-ge..., as opposed to the docs. The link referenced gives a holistic view of how to incorporate it.
- satvikpendem 2y agoI've been following the author Sandro Maglione for quite a while and am on his email list, he's great. He wrote fpdart which I've used and now he seems to be all in on Effect, with XState.
- wruza 2y agoThat’s just another level. Only in five pages of explanations we come to something that is basically: await fetch(…) .catch(e => new CustomError(…)) But with a wrapped-promise and flatmap nonsense for “better error handling”. FP always goes out of the way to avoid using the language it operates in and to criticize the ways of doing something it just imagined. As if it wanted to stay as noble from unwashed peasants as it could, but has to do the same job to keep existing. how to test () => makePayment()? (from the link) You don’t. You test constituents like request body generation and response handling. It’s inside. You can’t test your Effect-version of this code neither. It’s a strawman.