3 ms·
'err' is sitting there in the return value and the compiler will force you to either use it or explicitly steamroll it. The difference between C bounds checking
by superuser2 11y ago
'err' is sitting there in the return value and the compiler will force you to either use it or explicitly steamroll it. The difference between C bounds checking and Go error checking is that you can't forget to check an error in Go.
- azth 11y agoI guess everyone is remembering to check the return values of fmt.Println() then huh?