3 ms·
Thr only reason this works in other languages is because they’ve made the choice to return objects that represent success+value or error and then added explicit
by jonhohle 1y ago
Thr only reason this works in other languages is because they’ve made the choice to return objects that represent success+value or error and then added explicit syntax to support those types. That means function signatures put the error in the return type instead of a separate exception channel, but that’s really only a syntactic difference. It’s otherwise isomorphic.