• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Functional Programming in Scala - drawbacks ?

 
Ranch Hand
Posts: 572
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
paul nisset
Ranch Hand
Posts: 572
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 258
2
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Scala uses scalac to compile source file while javac for Java.
Scala is a JVM language that could interoperate with Java on same JVM.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic