Hacker News new | ask | show | jobs
by umanwizard 2870 days ago
Maybe you would like the concept of "checked exceptions" from Java? Exceptions are part of a method signature and not handling them is a compiler error, but they're still exceptions, not return values.