Re:On the uses and misuses of panics in Go
by geezerjay on Friday August 10, 2018 @03:05AM
(#17731257)
> Exceptions are really not a great way to think about error handling.
Why not? They let programmers concentrate error-handling in specific points of execution while taking care of every single resource cleanup task the programmer sers fit to perform.
Is there any better way to tackle this problem and keep the source code readable?
Why not? They let programmers concentrate error-handling in specific points of execution while taking care of every single resource cleanup task the programmer sers fit to perform.
Is there any better way to tackle this problem and keep the source code readable?