3 ms·
Note that checked exceptions are essentially the same thing as returning a tagged union, from a theoretical perspective at least. They're not popular in Java t
by frenchy 6y ago
Note that checked exceptions are essentially the same thing as returning a tagged union, from a theoretical perspective at least.
They're not popular in Java though, because the ergonomics is a lot worse than working with a Result type.