(no title)
mlmitch | 7 years ago
http://blog.ploeh.dk/2015/04/13/less-is-more-language-featur...
Their argument is that Exceptions are GOTOs in disguise and point to the use of sum types.
I have found this to be good advice when using Java 8+. Composing Optional<?>, Either<?, Exception>, or CompletableFuture<?> has provided sufficient tooling for handling failure scenarios.
I also find that Exceptions slow down my reasoning about code, because they are side effects - see functional programming.
emodendroket|7 years ago