Style Guide for Local Variable Type Inference ("var")

Stuart Marks stuart.marks at oracle.com
Fri Mar 23 06:44:17 UTC 2018


(replies to amber-dev, please)


-------- Forwarded Message --------
Subject: LVTI Style Guide
Date: Thu, 22 Mar 2018 23:15:05 -0700
From: Stuart Marks <stuart.marks at oracle.com>
To: amber-dev <amber-dev at openjdk.java.net>

Hi all,

I've posted a style guide for LVTI:

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

There has been quite a bit of chatter about LVTI surrounding the Java 10 
release. This has tended to obscure thoughtful conversations that programmers 
need to have regarding when and how to use `var` effectively on their projects. 
This document is an attempt to provide a head start in those conversations.

Enjoy,

s'marks



More information about the jdk-dev mailing list