Basically lambda expressions are to inner classes what enhanced-for-loops are to looping over an iterator.
You can do without, but you’d rather not. And a few people just don’t care.
Basically lambda expressions are to inner classes what enhanced-for-loops are to looping over an iterator.
You can do without, but you’d rather not. And a few people just don’t care.
What about tiered “compilation”?
yup it will be in there, but as yet its unclear if it’ll be enabled by default.
Wow, that sure is a horribly gutted java 7…
Closures aren’t just useful for multi-threaded code. I’ve met tonnes of examples where it makes the code a lot neater to be able to wrap up a bit of code and pass it into a function.
In regards to Java itself, considering this has been 4 years in the making I can’t help thinking the final list is a little thin. I hope they stay on track and get Java 8 out the door in 2 years as they claim.
You know, I couldn’t care whether it got a single new feature in it if they just released it with the performance enhancements it’s already got in it Edging closer and closer to C++ performance.
Cas