3 ms·
nope! go's error handling is actually good! it turns out that treating errors the same as normal values makes programs more reliable lots of people get salty
by preseinger 3y ago
nope! go's error handling is actually good!
it turns out that treating errors the same as normal values makes programs more reliable
lots of people get salty about it, for sure
- talideon 3y agoThe _right_ way to treat them as normal values is by using sum types. So no, Go's error handling isn't at all good. 1.13 might've made them less execrable, but it didn't make it good.
- preseinger 3y agoyou know i looked into it and it turns out that there is no actual consensus on what "the _right_ way" to treat errors is! huh! how about that