Skip to content

Comment on Everything I Was Lied to About Node.js Came True with Elixirparent

Comments

I like ideas from effect, I use my custom result type all over my application as well as my custom tryCatch & promise.allSettled wrappers.

Issue comes down to you need to wrap all of your code in effect/results. Something like rust has that built in so you're not really 'jamming' it in there.

It adds a bunch of boilerplate. Still better than the mess that is exception throwing.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.