News for hackers. Stuff that matters.
Re:Errors are values by Terr_ on Tuesday January 13, 2015 @12:40AM (#8878347)
If you want to force the consumer to consider an error case and make some decision about it... Well, I actually like Java's checked exceptions.

You've got to emit an error somehow and static checking ensures the consumer won't accidentally ignore the case. (Deliberately, perhaps, but that's a people-problem rather than a technology one.)

There are no comments on this comment yet.