4 ms·
It's also encoded in the return type of the function, so you get static type checking -- a property not present for exceptions.
by yoklov 10y ago
It's also encoded in the return type of the function, so you get static type checking -- a property not present for exceptions.
- barrkel 10y agoYou say that like it's desirable. I think Java's experience of checked exceptions shows that it's of very dubious benefit.