Re:Go proposal: Leave “if err != nil” alone?
by apta on Friday June 28, 2019 @02:21PM
(#20307324)
> Currently with Go it is impossible to forget about error handling.
Not true at all. The easiest example is:
func main() {
fmt.Println("")
}
The error is not being handled. An exception-based language doesn't have this issue, neither does a language that actually forces you to handle errors.
Not true at all. The easiest example is:
The error is not being handled. An exception-based language doesn't have this issue, neither does a language that actually forces you to handle errors.