Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why is scala used when same results can be achieved by Java 8 functional programming?  RSS feed

 
Ranch Hand
Posts: 964
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The functional programming of Scala is also possible in java 8 with lambda expressions. Why is scala used when same results can be achieved by Java 8 functional programming?
thanks
 
Saloon Keeper
Posts: 4413
108
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scala predates Java 8, so there was a lot of Scala in use before Java ever had these capabilities. But Scala does way more than lambda expressions, so using Java 8 is not a full substitute.
 
Monica Shiralkar
Ranch Hand
Posts: 964
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!