Hacker News new | ask | show | jobs
by Fellshard 1755 days ago
Yep! I'd love to see something like this in Java, but it's unlikely, probably for the usual runtime type erasure reasons. Exceptions can be implemented in this way, and would strike a nice balance in doing so.