2 ms·
Yeah I have been bitten by the _'ing errors thing in the go community.
by placeybordeaux 11y ago
Yeah I have been bitten by the _'ing errors thing in the go community.
- fixermark 11y agoGiven other aspects of Go's design, I'm actually a little surprised that Go makes it as easy to drop errors on the floor as it does. It feels like the language's strict checking of unneeded or missing imports and its lack of checking for capture of return values are philosophically at odds.
- rdtsc 11y agoIf compiler did it, how else would they get to chide people in people on bad style ;-) But yes, good point. I think a better type system should handle it and make it harder to drop errors on the floor. But that kind of asks for Rust's like sum-type which is too close to generics for their comfort.