4 ms·
the problem with goto for error handling is possibility of programmer error: you have to keep track of the order of labels yourself, whereas defer does that for
by baq 11y ago
the problem with goto for error handling is possibility of programmer error: you have to keep track of the order of labels yourself, whereas defer does that for you. i won't comment on anti-goto fascism.