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

One big difference is that with unwrap in Rust, if there is an error, your program will panic. Whereas in Go if you use the data without checking the err, your program will miss the error and will use garbage data. Fail fast vs fail silently.

But I'm just explaining the argument as I understand it to the commenter who asked. I'm not saying it is right. They have tradeoffs and perhaps you prefer Go's tradeoffs.

 help



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

Search: