Re:Down the Golang Nil Rabbit Hole
by tptacek on Tuesday March 30, 2021 @05:05PM
(#26640493)
Yes, Anyhow is almost as easy to use as Go's current error handling.
[ Parent
| on HN ]
You're significantly more experienced than me, so I'll defer to you here. What you're saying doesn't make sense to me though.
You're probably more experienced than I am with Rust!
I might be misunderstanding go, but I think the big difference is you use anyhow to get looses error handling at the edges of binaries. It'd be weird to see in a published library, and unusual to see deep in an internal library that supports a binary. Whereas in go you do that sort of error handling everywhere.