5 ms·
Functional Programming in Java from a Scala Addict
- TeeWEE 14y agoInteresting 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/ http://openjdk.java.net/projects/lambda/
- clhodapp 14y agoPerhaps 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>".
- soc88 14y agoProbably 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).
- thebluesky 14y agoThe article has a point. Guava is pretty nice, but using anonymous inner classes to implement filters gets pretty ugly.