|
|
|
|
|
by luriel
5009 days ago
|
|
The only mainstream language that has checked exceptions is Java, and it is almost universally agreed, even within much of the Java programming community, that checked exceptions cause more problems than they solve. Of course, unchecked exceptions have the problem that is basically impossible to keep track of what exceptions a function might throw (because it has to document all the exceptions that any functions it calls might throw too, and so on and on.) In the end, of all error handling mechanisms around, Go is by far one of the best. |
|