3 ms·
> it infuriates me when third-party stuff in other languages throws exceptions and you end up needing to check everything anyway. exceptions are a curse. Anyth
by 9t3h4r3o5w1a4w2 9y ago
> it infuriates me when third-party stuff in other languages throws exceptions and you end up needing to check everything anyway.
exceptions are a curse.
Anything can panic in Go. Go gives absolutely no guarantee something cannot panic. Errors as values are just a convention. So exceptions are a curse but Go has an inferior exception system, panics, but they are still exceptions.
The solution is checked exceptions.