News for hackers. Stuff that matters.
Re:What's in the Box? by g_delgado14 on Monday April 19, 2021 @04:00PM (#26867297)
> Because in JavaScript, if something goes wrong, we just throw!

Not if you're using `neverthrow` >:)

https://www.npmjs.com/package/neverthrow

Re:What's in the Box? by valand on Tuesday April 20, 2021 @03:01AM (#26871536)
https://github.com/gcanti/fp-ts https://github.com/gcanti/io-ts

If you're using TS these are pretty much footgun eliminator.