Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
NateDad
· 9y ago · 0 comments
Your compiler can't handle errors for you. Error propagation is not error handling.
Comments
[–]
amelius
9y ago
Well, if(err != nil) return err; pretty much sounds like propagation to me ...
[–]
NateDad
OP
9y ago
Yes, which is not error handling. Exceptions automatically handle error propagation, which is not the hard part of dealing with errors.