We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f61f615 commit 339b02aCopy full SHA for 339b02a
proposals/KEEP-0055-underscore-for-unused-parameters.md
@@ -87,6 +87,7 @@ Also an IDE quickfix is expected that turns unused declaration's name to `_`.
87
without special treatment in the language
88
- It seems that the same semantic may be applied in future versions of Java.
89
See [related message](http://mail.openjdk.java.net/pipermail/lambda-dev/2013-July/010670.html).
90
+- Go uses `_` as the [blank identifier](https://golang.org/ref/spec#Blank_identifier), ignoring all declarations of and assignments to `_`.
91
92
## To be done in the future
93
The same trick could also be applied to the named functions.
0 commit comments