Re:Twelve Years of Go
by Thaxll on Thursday November 11, 2021 @09:41AM
(#29188283)
Once again Rust does not force you to handle errors, you can ignore errors in Rust and it will compile. I can't say for Haskell but I doubt there is a language that forces you to handle error.
let _ = openFile()
Error ignored, it does compile, it will probably ends badly.
let _ = openFile()
Error ignored, it does compile, it will probably ends badly.
As for network error: https://pkg.go.dev/net#OpError