- @FunctionalInterface - I like this as it allows me to lock down interfaces that I want to have only one method (which is what makes them functional, or function-like). I know a co-worker or two who will really like this.
- java.util.time - Finally! JODA time users (like me) will find this to be very familiar looking.
- Lambdas - I think any Groovy user will say "finally, something like groovy closures!". This will probably come in handy, but...
- As with anything concise and powerful, it could be misused. Golden hammer problems might happen (suddenly everything has to be a Lambda).
- The syntax is close to what Groovy does, so it might be a little confusing to those of us who switch back and forth between Groovy and Java.
- The combination of Lambdas and function/method reference shorthand can result in some very 'tight' code.
- No more Permanent Generation - Okay, so now classes, interned strings and static fields are in the existing 'old' generation? Sounds good to me initially, since I'm a big fan of 'one kind of stuff'. However, I'm not sure about how this will affect GC configurations such as the one that I use frequently at work (ParNew + CMS).
Saturday, May 24, 2014
Thinking about Java 8
With all the fanfare of the impending Java 8 release, I thought it would be a good opportunity to brush up on some of the new features and think about how useful they might be at work. Here's what I've come up with so far:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment