Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I use exactly that way of error handling and I find it scales very very well and makes refactoring a breeze.

The enormous number of Rust crates that attempt to automate various aspects of defining error types suggests that not everyone finds it so pleasant.



Please read my post again, especially the last part...


I have read your post. Apologies if I’ve misunderstood it, but just replying in that way doesn’t really help.


I'm confused because I didn't say that Rust makes refactoring a breeze right? In fact, I said it does the opposite. So I don't really understand your response.


Ah, I read "I use exactly that way of error handling..." as "I use exactly that way of error handling [in Rust]..." (given the post you were replying to), but I guess you were talking about Zig. Sorry for the misunderstanding.


Haha, I'm actually using neither Rust nor Zig and I think both don't support the way of error-handling that I described.

No worries, happens. :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: