Hello, Messrs. Urma, Fusco, and Mycroft:
Do you have any suggestions for handling checked (or even unchecked) exceptions in lambda expressions? Having to put a bulky try-catch block in a lambda expression seems to defeat the purpose. It just ruins the terse, functional style that lambdas make possible.
Scala has
Try, and it helps. I haven't seen anything like that in the
Java 8 API, so I've attempted to port the concept to Java 8:
https://github.com/bradleyscollins/try4j
Is there a better technique or paradigm already in Java 8 that I've overlooked?