• Post Reply Bookmark Topic Watch Topic
  • New Topic

Since Java 8 introduced lambda functions, why would I want to move to Scala?  RSS feed

 
Lanny Gilbert
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was curious as to why I'd want to use Scala if I can get "functional programming" in Java, supported in Java 8.
 
chris webster
Bartender
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Functional programming is baked into Scala, rather than bolted on as in Java 8, and there are lots of mature Scala libraries that make good use of these features already. But obviously there are going to be lots of other factors that determine your choice of programming language for a given project - available skills, legacy code, interoperability, tools, etc. Lambda functions are probably not going to be the key factor in making this decision. Personally I much prefer Scala, but YMMV!
 
chris webster
Bartender
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could check out this video talk from Chris Hunt on Scala for people who are happy with Java.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!