Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
eloff
· 7y ago · 0 comments
Despite the name, there's really nothing in common with try/catch. It's just sugar for if err != nil { return }.
Comments
[–]
pfarnsworth
7y ago
Try is a terrible choice for a name exactly because of try/catch, I don't know why they decided on that.