2 ms·
> Go's approach is to make error handling something you have to think about for virtually every line of code But that doesn’t work, and you can’t handle every
by kaba0 4y ago
> Go's approach is to make error handling something you have to think about for virtually every line of code
But that doesn’t work, and you can’t handle every error at the place of its origin.
- seti0Cha 4y agoSeems to me like it does work, based on many successful projects using it. There's nothing that forces you to handle the error at the place of origin, you can pass it on like you do with exceptions. You just can't bubble it up multiple levels.