Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: