Hacker News new | ask | show | jobs
by Ferret7446 502 days ago
You "can" forget to check an error, but in practice I've never seen it happen. The error check always happens after it is assigned so a missing check stands out like a clown at a funeral, and as a bonus there are linters that check for missed errors, which is trivial due to how Go and Go errors work.