News for hackers. Stuff that matters.
Re:Working with Errors in Go 1.13 by hackworks on Saturday October 19, 2019 @08:56PM (#21301672)
Almost every language supporting inheritance suffers from lack of ability to check if an error is part of the derivation chain. I have implemented this using expensive dynamic cast in C++ and instanceof in Java.

Finally Go gets it ahead of the other languages!

Re:Working with Errors in Go 1.13 by apta on Saturday October 19, 2019 @09:27PM (#21301778)
`instanceof` in Java can be surprisingly fast. Plus, it seems that errors.Is and As rely on reflection, which is slow in golang.