aspose file tools*
The moose likes Scala and the fly likes Functional Programming in Scala - drawbacks ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Languages » Scala
Bookmark "Functional Programming in Scala - drawbacks ?" Watch "Functional Programming in Scala - drawbacks ?" New topic
Author

Functional Programming in Scala - drawbacks ?

paul nisset
Ranch Hand

Joined: May 13, 2009
Posts: 177
Hi,
Scala has been around for a while now. People who use Scala say it is great but it appears the take up is still pretty slow.
Are there any drawbacks to using Scala for a *new* project ,compared to using Java with a framework like Spring ?

thanks ,
Paul
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9618
    
    2

I do not see any drawback at all using Scala for new projects. If you think about it for a minute, times again, a Scala code compiles to the JVM which means that should you face any bottle neck using Scala to code a piece of a task, you can pull the plug and start writing imperative Java.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
paul nisset
Ranch Hand

Joined: May 13, 2009
Posts: 177
Joe Harry wrote:I do not see any drawback at all using Scala for new projects. If you think about it for a minute, times again, a Scala code compiles to the JVM which means that should you face any bottle neck using Scala to code a piece of a task, you can pull the plug and start writing imperative Java.


Thanks .
That does make sense.
I guess I didn't make the connection that they use the same compiler.
Raymond Tong
Ranch Hand

Joined: Aug 15, 2010
Posts: 230
    
    2

Scala uses scalac to compile source file while javac for Java.
Scala is a JVM language that could interoperate with Java on same JVM.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Functional Programming in Scala - drawbacks ?