Showing posts with label Scala. Show all posts
Showing posts with label Scala. Show all posts

May 21, 2014

Java And Scala

Scala employs a lot of nested code, because of which it is very easy to end up writing a confusing code. On the other hand, it also allows you to improve clarity if done the right way.

Unlike Java, Scala has the ability to support operator overloading. 

In Scala, functions are objects. This is a major difference between Java and Scala. Functions or methods are treated as variables in Scala, allowing you to pass them like objects.

The learning curve for Scala is steep as compared to Java. For Java developers looking to learn Scala, books like Programming Scala, Scala in Action etc. are recommended.