Skip to main content

What's the most important new feature in Java 8?

Lambda Expressions
42% (104 votes)
The Stream API
18% (44 votes)
Compact Profiles
5% (13 votes)
Security Enhancements
4% (10 votes)
Nashorn Javascript Engine
2% (5 votes)
Some other new feature
4% (10 votes)
I can't pick just one new feature
9% (23 votes)
I don't know
15% (36 votes)
Total votes: 245

Comments

Re: What's the most important new feature in Java 8?

For me lambda expressions are good but annotations on types, parameters in reflection and default methods are the real big things.

Unfortunately project coin still has not made it in as the ?. Operator would make my life so much easier.

The new date time library might be nice if the system I spend my working life on wasn't so massive and entirely written around joda time.

Migrating the system to JDK8 was not to hard though and we have already made extensive use of default methods in order to tidy up some of our own api's.

This is working well on our internal alpha servers but will still be a few months from reaching any live client systems.

Re: What's the most important new feature in Java 8?

Lambda and Stream API are probably most talked about, but parameter reflection, date&time API, and type annotations are probably even more important, as they have been missing most from a modern language.