-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proposal: Go 2: Error-Handling Paradigm with !err Grammar Sugar #62253
Comments
I think my proposal has the least broken |
Duplicate of #14066 |
@seankhliao I don't know why you just because of they looks similar then close this, this has diffrence, this issue add limit for sugar so it easy to implement |
We have rejected many issues that are very similar, if not identical, to this one. Just as those were not accepted, we aren't going to accept this one. As I mentioned, please see #40432. Sorry. |
so much proposal, can we make an vote to known which proposal is much popular? |
Sorry, we don't make changes to the Go language on the basis of voting. We are aware that error handling boilerplate is a concern. There have been many, many, proposals to address it. There has been an enormous amount of discussion on the topic. |
here is my try: https://github.com/shynome/err4 .implement this by use code generate. I'm so sorry for what I said. I didn't mean to hurt your feelings. |
No worries. |
I think the Proposal-Decline reason does not apply now, This year is 2023 not 2016, this year we have got generic type, a change bigger than this proposal, golang team can consider this again |
We've identified many similar issues. They have all been closed. This isn't an approach we are likely to take with Go. Sorry. |
Hi, if you like this idea please give a heart emoji to me, Thank you very much
I plan to impl this by gone-lang, your like emoji can speed development
The text was updated successfully, but these errors were encountered: