4 comments

[ 3.4 ms ] story [ 16.2 ms ] thread
Interesting article. However he forgets to mention that this will be much easier in Java 8, with the support for Lambdas. Which comes wich JSR 335.

http://openjdk.java.net/projects/lambda/

Perhaps he doesn't forget, but wants to speak about what you should do today. Or, perhaps he doesn't know about Java 8 lambdas. Ultimately, your comment would come off a lot less offensively if you had said something like "Interesting article. I wonder if Java 8 lambdas will change this. <link>".
Probably because it won't matter for the next few years.

If you use features of Java 8, you force everyone of your clients to use/switch to a Java 8 runtime, too.

Whereas in Scala even the newest version happily runs on Java 5 (released in 2004).

The article has a point. Guava is pretty nice, but using anonymous inner classes to implement filters gets pretty ugly.