News for hackers. Stuff that matters.
Re:Thoughts on Go vs. Rust vs. Zig by bargainbin on Thursday December 04, 2025 @06:20PM (#46154623)
My experience aligns with this, although I often find the error being used for non-errors which is somewhat of an overcorrection, i.e. db drivers returning “NoRows” errors when no rows is a perfectly acceptable result of a query.

It’s odd that the .unwrap() hack caused a huge outage at Cloudflare, and my first reaction was “that couldn’t happen in Go haha” but… it definitely could, because you can just ignore returned values.

But for some reason most people don’t. It’s like the syntax conveys its intent clearly: Handle your damn errors.

There are no comments on this comment yet.