4 ms·
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 ou
by Ferret7446 2y 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.