• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Scala vs Java 8

 
Ranch Hand
Posts: 54
Clojure Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

Thanks,
Rick
 
author
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
reply
    Bookmark Topic Watch Topic
  • New Topic