Re:Why I’m not leaving Python for Go
by zmj on Sunday September 23, 2012 @11:31PM
(#4563070)
Not at all. If a function can't or shouldn't be responsible for handling an error, it can return that error. The result is that the error passes back up the call stack until something handles it.
It's very similar to exceptions, except you have to consciously choose to do it. That's a virtue to me.
It's very similar to exceptions, except you have to consciously choose to do it. That's a virtue to me.