3 ms·
What if the out.Write (which is presumably in "some code") has already set err? Then we lose _that_ error, if out.Close returns error. I think this is tricky
by justinsb 12y ago
What if the out.Write (which is presumably in "some code") has already set err? Then we lose _that_ error, if out.Close returns error.
I think this is tricky in any language.