• 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