Re:Why Go is elegant and makes my code elegant
by NateDad on Thursday April 10, 2014 @04:18PM
(#7569416)
Uh, no. You shouldn't use panic for error handling. You should basically never use panic unless you have some small bit of recursive algorithm inside your package that you want to be able to easily unwind. For general error handling you should only ever use error returns.
[ Parent
| on HN ]
There are no comments on this comment yet.