4 ms·
It's not idiomatic, or good, but neither is ignoring the return value from a go function call. Both languages fail to provide better affordances for error check
by jfb 11y ago
It's not idiomatic, or good, but neither is ignoring the return value from a go function call. Both languages fail to provide better affordances for error checking.
- mcguire 11y agoThat it's bad style is kind of the point: The standard response from Go advocates is that ignoring errors is not idiomatic, but it's not good style anywhere, in any language where it isn't outright illegal.
- jfb 11y agoI think we're in violent agreement. I wasn't saying that Go's affordances solve this problem, merely pointing out that checked exceptions in Java aren't any kind of a dispositive solution.