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

Fair enough. That's what they seem to be saying.

But then I want to chime in and argue that the repetitive syntax isn't even close to being the main problem with Go: https://home.expurple.me/posts/go-did-not-get-error-handling...



So, while on that subject; does Zig get error handling right?


It does seem to: 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.


Idk, I'm not familiar enough with Zig to say


I think it does.




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

Search: