3 ms·
I'm not saying you should use Rust! I'm saying that Go should add try.
by pcwalton 7y ago
I'm not saying you should use Rust! I'm saying that Go should add try.
- mikeschinkel 7y agoI was one of the many who argued strenuously that they not add try(). I spent an entire day writing up my reasons who I posted to the ticket on GitHub. Bottom line, try() had too many flaws — especially related to consistency with the rest of Go — to be an appropriate addition to the Go language. Adding try() to Go would be like adding a disco ball to the Sistine Chapel. Sure, disco balls have their place, but some places are just not appropriate for disco balls. Or as Yoda says: "Do or do not. There is no try." (Fortunately!)