File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Scala and the fly likes Coding Scala in OO / FP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Scala
Bookmark "Coding Scala in OO / FP" Watch "Coding Scala in OO / FP" New topic
Author

Coding Scala in OO / FP

Raymond Tong
Ranch Hand

Joined: Aug 15, 2010
Posts: 230
    
    2

Scala makes it easy to code in OO or FP.
FP becomes more popular given it is always concise, expressive and no concurrency concern.
However, I always do it in OO way from beginning.
Is there any good books or tips to help me to switch to FP style?
Reading the book - Functional Programming in Scala ?
Or I should learn a pure FP language?
Erik Bakker
author
Greenhorn

Joined: Feb 03, 2013
Posts: 8
Raymond Tong wrote:Scala makes it easy to code in OO or FP.
FP becomes more popular given it is always concise, expressive and no concurrency concern.
However, I always do it in OO way from beginning.
Is there any good books or tips to help me to switch to FP style?
Reading the book - Functional Programming in Scala ?
Or I should learn a pure FP language?


Learning a pure FP language is certainly not necessary, however it can be very useful and fun. "Functional Programming in Scala" is a good book, and the free Coursera course on Functional Programming principles in Scala is a great start as well.


I know that you believe you understand what you think I said, but I'm not sure you realize that what you heard is not what I meant.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Coding Scala in OO / FP
 
Similar Threads
Learning two languages this year
Scala in Depth: functional programming vs OO
Scala Coursera: how was it for you?
Anyone using Scala?
Functional programming