4 ms·
Except, you know, just mindlessly typing out "if err != nil { return }" does not somehow force enlightenment upon the user. The error blocks are so uniform in t
by lclarkmichalek 12y ago
Except, you know, just mindlessly typing out "if err != nil { return }" does not somehow force enlightenment upon the user. The error blocks are so uniform in their banality that future maintainers treat them the same way that error handling is treated in every other language.
- invisible 12y agoThe fundamental difference is that each separate error is accounted for rather than 4 lines all being treated as error points so you never know which could throw.