File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Scala and the fly likes do scala has advantages over java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Scala
Bookmark "do scala has advantages over java?" Watch "do scala has advantages over java?" New topic

do scala has advantages over java?

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1012
Hello all,
i just took scala as my self learning topic in my college, i wanted to know, is there any advantage scala has over java?
i mean performance wise, or in any other factor, is scala is better than java?
also please refer some good tutorials to start with scala.
chris webster

Joined: Mar 01, 2009
Posts: 2288

Well, you could start by looking at a few of the other threads on these forums.

For example, this thread has a useful discussion on comparing Java/Scala for performance, as well as making the important point that Scala is not a "faster Java", but a different tool that allows you to solve problems in a different way. Scala allows you to gain the benefits of functional programming e.g. for easier concurrency, while still taking advantage of everything Java and the JVM can offer.

The InfoQ website also has a couple of pieces by technical staff from the UK "Guardian" newspaper, explaining why they decided to switch to Scala, and also reviewing their experience of moving from Java to Scala (mostly).

There is a book review of "Scala for the Impatient" here on the Ranch as well.

Incidentally, there is a free online version of the first edition of Programming In Scala by Martin Odersky, although this is 4 years out of date. It will give you a thorough introduction to Scala, but it's pretty heavy going if you're just looking for a tutorial!

Finally, if you want to learn more about Scala from the man who invented it, there's still time to sign up for Martin Odersky's free online Scala course via Coursera, which starts on 18 September and runs for 7 weeks.

No more Blub for me, thank you, Vicar.
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1012
Thanks for a bunch of information.
I agree. Here's the link:
subject: do scala has advantages over java?
It's not a secret anymore!