|
|
|
|
|
by veber-alex
1073 days ago
|
|
> Go’s error handling is more verbose than those other languages, but structurally, there’s a lot of commonality under the surface. In Go the type system doesn't force you to check for errors, the same way as languages with null pointers don't force you to check pointers before dereferencing them. That's the real problem with errors and null in Go, not the verbosity (though that doesn't help) |
|
result, _ := myfunc()
That being said, I most certainly prefer the approach that Rust takes to this problem.