This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Scala and the fly likes Scala vs Java 8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Languages » Scala
Bookmark "Scala vs Java 8" Watch "Scala vs Java 8" New topic

Scala vs Java 8

Rick Goff
Ranch Hand

Joined: Nov 14, 2006
Posts: 54

If I can ask you to represent the Scala perspective, I'd like to ask for your reaction to the Java 8 Lambda project. Are you flattered? Threatened?


Paul Chiusano

Joined: Feb 06, 2013
Posts: 9
I think Java 8 adding anonymous functions is a good thing. It makes it that much easier to do FP from Java, and as a consequence we'll hopefully see more JVM support for optimizing this style of programming. Scala will still be a nicer functional language than Java due to other features like pattern matching, its more powerful type system, and implicit arguments (technically Scala's implicits feature is a bit more powerful than necessary, but something like this is very useful for FP). I don't see Java adding these features anytime soon, or ever.

Also, we are more interested in FP in general, rather than Scala the language in particular. If people start doing pure FP in other languages, I think that's great!
I agree. Here's the link:
subject: Scala vs Java 8
It's not a secret anymore!