This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Coding Scala in OO / FP

 
Raymond Tong
Ranch Hand
Posts: 255
2
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!