|
|
|
|
|
by sethops1
109 days ago
|
|
When you see .unwrap in Rust code, you know it smells bad.
When you see x, _ := in Go code, you know it smells bad. > But if you don't know Go, it's just an underscore. And if you don't know rust, .unwrap is just a getter method. |
|
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.