3 ms·
Exceptions are exactly the same thing as sum types, there really is no difference between them on a conceptual level. They just come with additional stack trace
by kaba0 5y ago
Exceptions are exactly the same thing as sum types, there really is no difference between them on a conceptual level. They just come with additional stack traces and good, no boilerplate syntactic sugar in Java.