by randomdata · 7y ago · 0 comments
In disguise? I do not believe there is any mystery that panic/recover provide exceptions in Go. An exceptional case is exactly when you would want to use panic in a Go program. panic is provided in the language specifically to deal with exceptions.
If anything, it is other programming languages where exceptions are usuals in disguise.
No comments yet.