4 ms·
> exceptions in disguise In disguise? I do not believe there is any mystery that panic/recover provide exceptions in Go. An exceptional case is exactly when yo
by randomdata 7y ago
> exceptions in disguise
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.