VERSION 2: Re: Proposal: Type inference for variable definition/initialization using the 'auto' keyword.

Howard Lovatt howard.lovatt at
Sun May 24 16:00:59 PDT 2009

The example:

final auto list = new ArrayList<String>();

seems strange, why not:

final list = new ArrayList<String>();

After all you are trying to reduce verbosity and making final
declarations the same length as variable ones will encourage people to
use final more, which is a good thing. The use of just final has been
proposed by many people for Java already, it won't break code.  Also
this final only construct is consistent with other languages e.g.
Scala, JavaFX, etc. that use def and var (final and auto

  -- Howard.

More information about the coin-dev mailing list