News for hackers. Stuff that matters.
Re:Elegant Error Handling with the JavaScript “Either” Monad by cheeze on Wednesday June 19, 2019 @08:25AM (#20222627)
Fully agree. I'm not a JS expert by any means, but I dabble here and there, mainly for work.

If someone did this at work, I'd wonder why they are trying to add so much complexity to something that is rather simple and already well understood by most.

It would be hard to convince me to sign off on a code review where this was added tbh. I'd love to hear how/why I'm wrong here though.

Maybe there are better use cases for it? But in my case, the major thing I care about is that code is simple and readable.

There are no comments on this comment yet.