Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
xeus2001 committed Jul 18, 2023
1 parent a2fd920 commit 7718d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/CONTRIBUTE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ There are discussions ongoing about checked exceptions vs unchecked exceptions,
- [The Trouble with Checked Exceptions(Anders Hejlsberg)](https://www.artima.com/intv/handcuffs.html)
- [Exception Tunneling](http://wiki.c2.com/?ExceptionTunneling)

The basic problem that checked exceptions should solve is that we want to understand, when a function can produce an error and when not. We want the caller to either handle the error, or return the error to the caller, so the caller handles the error. In an ideal world we want to know either, which errors are possible, so we can decide, which ones we want to handle.
The basic problem that checked exceptions should solve is that we want to understand, when a function can produce an error and when not. We want the caller to either handle the error, or return the error to the caller, so the caller handles the error. In an ideal world we want to know as well, which errors are possible, so we can decide, which ones we want to handle.

However, there are major gaps for this as soon as interfaces are used:

Expand Down

0 comments on commit 7718d28

Please sign in to comment.