Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Functional features of Lambda Vs other languages.

Ranch Hand
Posts: 227
Python Ruby Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

If i already did some programming in Java , should i learn go for Scala or Lambda if i have to take advantage of the functional features  ,since both being JVM languages .

author & internet detective
Posts: 40035
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've moved this to our Scala forum since it isn't about the OCAJP exam.

It's good to learn multiple things. That said, if you are programming in Java, you are going to use lambdas and other functional constructs. You aren't going to call Scala code from within a method every time you want to do something functional. Which makes this question equivalent to "should I learn try with resources". Yes. It is part of the language. Having more tools in the language makes you a more productive builder!
But how did the elephant get like that? What did you do? I think all we can do now is read this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic