3 ms·
> At least JavaScript doesn't have typed catches. Holy black mother of darkness, that shit is intolerable. Well, if his complaint is about untyped catches, we
by jronkone 15y ago
> At least JavaScript doesn't have typed catches. Holy black mother of darkness, that shit is intolerable.
Well, if his complaint is about untyped catches, well, I guess they must suck. But if he thinks that typed catches are somehow worse (hint: they're better), he is wrong.
> But still, nothing is as bad as the common "On Error Resume Next" that so many terrible VB programs
start with.
Ok, everyone who always checks the return value of printf() in C, raise your hands. That's what I thought. The semantics of C is that whenever something fails, you just continue from the next line (statement, whatever...) even if the world is burning. Try-catch may suck, but checking for return values sucks more (in languages without pattern-matching), deal with it.