|
|
|
|
|
by frenchy
2196 days 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. |
|