News for hackers. Stuff that matters.
Re:An Honest Review of Go (2025) by tptacek on Thursday January 08, 2026 @01:39PM (#46544726)
The subtlety missed in these conversations is that almost all the information there is for typical error handling --- that is, all the information that would be present in a typical Rust error handling scenario as well --- is encoded in the type tree of the errors.

(Rust then improves drastically on the situation with pattern matching, which would simply improve Go with no tradeoffs I can really discern, just so we're clear that I'm not saying Go's error story is at parity with Go. But I'd also point out that Rust error handling at a type level is kind of a painful mess as well.)

Re:An Honest Review of Go (2025) by benrazdev on Thursday January 08, 2026 @03:34PM (#46546070)
>that is, all the information that would be present in a typical Rust error handling scenario as well --- is encoded in the type tree of the errors.

it's only present when you downcast though?

Re:An Honest Review of Go (2025) by tptacek on Thursday January 08, 2026 @04:11PM (#46546535)
It's not super ergonomic, but the information is there, in about the same density as it would be in a Rust app, supporting the same error handling strategies (ie, discriminating between transient and durable errors, &c).