News for hackers. Stuff that matters.
Re:A better way to handle errors in JavaScript by thiht on Tuesday October 31, 2023 @04:26AM (#38081657)
Agree with that. Exceptions suck, try-catch is an infamy, and errors not in the signatures or exploitable in any way by Typescript is a living nightmare. But what I hate even more is multiple ways to handle errors.
Re:A better way to handle errors in JavaScript by mekster on Tuesday October 31, 2023 @06:04AM (#38082446)
You sound like, living in a car society is a nightmare because you can't dodge cars that run into you.

Hopefully there's an ideal world for you.

Re:A better way to handle errors in JavaScript by thiht on Tuesday October 31, 2023 @11:00AM (#38085890)
> living in a car society is a nightmare

More like living in a society with invisible cars. You only know there was a car when it hits you. And every time you move a foot you have to first try to throw a pebble to check if there's a car