3 ms·
It is absolutely reasonable for function invocations that violate the specification to result in program termination. Attempting to handle and recover from the
by account42 3y ago
It is absolutely reasonable for function invocations that violate the specification to result in program termination. Attempting to handle and recover from the error at runtime is a) a waste of resources and b) prevents future expansion of the function that makes the values legal.