News for hackers. Stuff that matters.
Re:Elegant Error Handling with the JavaScript “Either” Monad by bjpbakker on Wednesday June 19, 2019 @01:07PM (#20225085)
> I constantly need to spend mental energy on remembering which is the Ok and which is the Error

Right is actually a synonym for Ok.. besides, Either is useful for _much_ more than error handling. That is exactly why I dislike Error for the left side; often it's just not an error.

There are no comments on this comment yet.