JEP proposed to target JDK 11: 323: Local-Variable Syntax for Lambda Parameters (original) (raw)
Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Jan 30 13:09:40 UTC 2018
- Previous message: JEP proposed to target JDK 11: 323: Local-Variable Syntax for Lambda Parameters
- Next message: JEP proposed to target JDK 11: 323: Local-Variable Syntax for Lambda Parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 28/01/18 23:47, Remi Forax wrote:
yes, 'final var' is an odd combination, 'var' means more this is a local variable and less this is something which is variable. For the record - this has nothing to do with the JEP being targeted and the basic local variable type inference support (JEP 286) also has this.
While I understand the concern of 'var' and 'final' seemingly pointing at opposite directions in the space, I must also note that the spec (and devs too?) has used the term 'final variables' for ages:
https://docs.oracle.com/javase/specs/jls/se9/html/jls-4.html#jls-4.12.4
Cheers Maurizio
- Previous message: JEP proposed to target JDK 11: 323: Local-Variable Syntax for Lambda Parameters
- Next message: JEP proposed to target JDK 11: 323: Local-Variable Syntax for Lambda Parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]