3 ms·
having 3 out of 4 lines in your codebase dedicated to letting errors surface is a bad thing.
by keymone 10y ago
having 3 out of 4 lines in your codebase dedicated to letting errors surface is a bad thing.
- deleted 10y ago[deleted]
- literallycancer 10y ago3 out of 4 most common words are related to error handling. How does that imply 75% lines are error handling?
- keymone 10y agoerr := someOperation(args...) if err != nil { return err } that's 4 lines, 3 of them are error handling