• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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!
 
And then the entire population worshiped me like unto a god. Well, me and this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic