Java 10 will bring a lot of changes and it will make us program in a different way.

in java10 •  7 years ago 

It seems that Java 10 will bring many changes!

One of those changes will also be the type inference and the introduction of the "var" keyword.

So instead of writing as follows
List Generics lista = new ArrayList Generics();
Stream Generics streamline = getStream();

We will write in a much simplified syntax:

var lista = new ArrayList Generics();
var streamline = getStream();

Much like Javascript where the "var" keyword stands for variable and the type is not indicated.

Java strikes again in make a big surprise to its developers.

An interesting article about that is the following https://blog.takipi.com/how-java-10-will-change-the-way-you-code/

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!