↳
In-reply-to
»
I want to propose my own counter-proposal to the discussion that's ongoing with Go and error handling.
⤋ Read More
@xuu@txt.sour.is And you’re right, it only really saves a single line. I think I’ve even commented on a similar discussion a few years ago as well where I showed concretely the abrustdity of the community wanting to change this. If I recall, the whole pattern of:
if err != nil {
...
}
basically accounts for <1-3% of your codebase in the first place.
The entire thing (fuss) is really just pathetic IMO.