News for hackers. Stuff that matters.
Re:Error Handling in Zig by veber-alex on Sunday August 06, 2023 @03:19PM (#37025549)
Because there isn't a one size fits all solution to error handling?

Because before anyhow/thiserror became popular there were 5 other popular crates for handling errors and if Rust added one of those to std we would be stuck with a subpar solution forever?

Because cargo is so easy to use that your preferred error handling solution is one `cargo add` command away?

Because for simple cases the tools the standard library offers are good enough?

Re:Error Handling in Zig by pjmlp on Monday August 07, 2023 @01:31AM (#37030518)
Or maybe, because the feature wasn't properly developed, and needs community fixes to make it usable.