5 ms·
If an exception should be expected and handled, it's not an exceptional case, it's a part of the function's signature. The lack of sum types and pattern matchi
by nine_k 7y ago
If an exception should be expected and handled, it's not an exceptional case, it's a part of the function's signature.
The lack of sum types and pattern matching notwithstanding, such a signature can be implemented reasonably in Java.