Re:On the uses and misuses of panics in Go
by webkike on Thursday August 09, 2018 @06:05PM
(#17728968)
Seems like step five is a reasonable place to stop, and I don't know any languages that eventually got to step 6 and are useful or fun to program in as rust. Exceptions are really not a great way to think about error handling.
[ Parent
| on HN ]
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?