Tuesday, March 27, 2018

Style Guidelines for Local Variable Type Inference in Java


Stuart W. Marks just published a very useful guidelines for the use of  the newly introduced local variable type inference in Java 10:

var list = List.of("One", "Two", 3);

http://openjdk.java.net/projects/amber/LVTIstyle.html