News for hackers. Stuff that matters.
Re:Elegant Error Handling with the JavaScript “Either” Monad by jessaustin on Wednesday June 19, 2019 @12:40PM (#20224846)
TFA had so many parentheticals and explanatory comments on this that it would have been shorter if it used "Sad" and "Happy" instead. Of course, if brevity had been a goal there would also have been some inheritance...
Re:Elegant Error Handling with the JavaScript “Either” Monad by michaelcampbell on Wednesday June 19, 2019 @12:43PM (#20224867)
I may actually use that. That's a great metaphor.