News for hackers. Stuff that matters.
Re:Ask HN: What concepts have you never truly understood? by 8note on Monday March 07, 2022 @01:20AM (#30584717)
A function that can return a value or throw an exception is pretty similar to Maybe<value,error>

I'm not clear why the next function in the pipeline would need to know about the error rather than the caller, but that happens with promise chains too

There are no comments on this comment yet.