Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
Go’s error handling is fine. I don’t hate it, in spite of it being verbose. I’d love to see something like Result, Option, pattern matching, and something like the ? operator from Rust, but the official proposals on the topic are never taken up.
In the end, it still has errors as values which is worth a lot. I’m fine with a few lines per check.
Go’s error handling is fine. I don’t hate it, in spite of it being verbose. I’d love to see something like
Result
,Option
, pattern matching, and something like the?
operator from Rust, but the official proposals on the topic are never taken up.In the end, it still has errors as values which is worth a lot. I’m fine with a few lines per check.