News for hackers. Stuff that matters.
Re:Declined Proposal: A built-in Go error check function, “try” by mikeschinkel on Friday July 19, 2019 @03:04PM (#20481548)
I 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!)

There are no comments on this comment yet.