We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Novice
Go, C/C++
No
No. But, caused error is an interface, this will make more simple to check.
we need to simplify if condition for pointer nil checking.
var err error = nil if err != nil { // do somethings }
my expectation is:
var err error = nil if err { // error handling }
No response
Not sure, but i think will not compatible.
more harder to learn. But, more easier to code.
gofmt, gopls will affected
The text was updated successfully, but these errors were encountered:
Similar Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Sorry, something went wrong.
No branches or pull requests
Go Programming Experience
Novice
Other Languages Experience
Go, C/C++
Related Idea
Has this idea, or one like it, been proposed before?
No
Does this affect error handling?
No. But, caused error is an interface, this will make more simple to check.
Is this about generics?
No
Proposal
we need to simplify if condition for pointer nil checking.
my expectation is:
Language Spec Changes
No response
Informal Change
No response
Is this change backward compatible?
Not sure, but i think will not compatible.
Orthogonality: How does this change interact or overlap with existing features?
No response
Would this change make Go easier or harder to learn, and why?
more harder to learn. But, more easier to code.
Cost Description
No response
Changes to Go ToolChain
gofmt, gopls will affected
Performance Costs
No response
Prototype
No response
The text was updated successfully, but these errors were encountered: