3 ms·
See my comment below. I never use this pattern personally, just wanted to point out that it exists. In general I think passing up errors through the call stack
by ThePhysicist 5y ago
See my comment below. I never use this pattern personally, just wanted to point out that it exists. In general I think passing up errors through the call stack without adding context to them or handling them is a strong anti-pattern. I think many people in the Golang community see this similarly. And by passing an error up the stack with "?" you haven't magically "handled" it, so I don't think that's a fair point.