This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 169
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: 9345
    
    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: 169
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.
 
wood burning stoves
 
subject: Functional Programming in Scala - drawbacks ?
 
Similar Threads
VBScript in JSP
Scala's BSD License
Which tools do you recommend for learning Scala ?
Scala for GUI?
What's the book place among the Scala books available?