When switching from other languages the urge to reach for recover/defer as a try/catch substitute is real
Error handling in Go: Common pitfalls
https://pvs-studio.com/en/blog/posts/go/1371/
https://pvs-studio.com/en/blog/posts/go/1371/
When switching from other languages the urge to reach for recover/defer as a try/catch substitute is real
1 Comments
I_quote_Seinfeld_a_lot@sh.itjust.works · 3 pts · 139d
This reads very much like an ad for their static code analyzer. There is no real advice, just examples for what their software caught. I wonder how many of these would also be caught by golangci-lint.