|
|
|
|
|
by dosethree
1517 days ago
|
|
I've ran into bugs multiple times because I ignored an error result, or overwrote the "err" variable and swallowed an error. Errcheck helps a bit. Other languages that have exceptions that bubble up the stack have a few advantages (easier to instrument with monitoring, stack traces and line numbers out of the box) but developers often misuse error handling as flow control |
|
Any reasonable code review process would catch these (very obvious) problems.