Y
Hacker News
new
|
ask
|
show
|
jobs
by
onionisafruit
1975 days ago
The convention is to reuse err after you’ve handled any previous non-nil values. That does leave room for forgetting a check. I’ve made that mistake many times, but the errcheck linter finds the mistake every time.