5 ms·
That can and should be generated; it's not as if the machine doesn't know which function failed. We don't force human beings to plow through all the rote instru
by erik_seaberg 7y ago
That can and should be generated; it's not as if the machine doesn't know which function failed. We don't force human beings to plow through all the rote instructions that set up a stack frame or invoke an object's implementation of a method, and for the same reason we shouldn't force them to plow through the rote instructions that bubble an error toward the handler. When errors exist in your problem domain, manipulating them becomes part of the language's job, and nearly every language from the last thirty years acknowledges that.