4 ms·
So, while on that subject; does Zig get error handling right?
by sgt 1y ago
So, while on that subject; does Zig get error handling right?
- Expurple 1y agoIdk, I'm not familiar enough with Zig to say
- lblume 1y agoIt does seem to: https://pedropark99.github.io/zig-book/Chapters/09-error-handling.html https://pedropark99.github.io/zig-book/Chapters/09-error-han... However errors do not seem to commonly wrapped, tagged or contextualized as is the case in Rust. This might weight lower verbosity as more important than extremely structured error handling which definitely constitutes an interesting approach.
- osigurdson 1y agoI think it does.