I found this explanation from Brian Goetz:

http://openjdk.5641.n7.nabble.com/Warning-about-single-underscore-identifier-td145974.html

"Yes, we are "reclaiming" the syntactic real estate of "_" from the
space of identifiers for use in future language features.  However,
because there are existing programs that might use it, it is a warning
for identifiers that occur in existing syntactic positions for 8, and an
error for lambda formals (since there is no existing code with lambdas.)

Your suspicion is mostly right, except that we are certainly NOT going
to do Scala's "wunderbar".  However, things it might be used for include
things like "I don't want to give this variable a name" (such as catch
parameters that are never used.)"

Emmanuel Bourg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to