Hacker News new | ask | show | jobs
by kaba0 1719 days 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.