Hacker News new | ask | show | jobs
by karel-3d 215 days ago
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

1 comments

Get a key from a map and forget to check the error.