Re:Proposal: Go should have generics
by enneff on Thursday April 14, 2016 @02:26AM
(#11494657)
As you probably already know, panic/recover/defer are not supposed to be used in the same way as try/catch/finally. They're different features for different purposes.
If you want error handling in Go, use error values.
If you want error handling in Go, use error values.