Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
karel-3d
· 1y ago · 0 comments
Idiomatically, it gives you `err` and you do `if err != nil {return err}`. While in rust you mostly do `.unwrap` and panic.
It's not in the type system, but it's idiomatic
Comments
[–]
richardwhiuk
1y ago
Get a key from a map and forget to check the error.