aspose file tools*
The moose likes Scala and the fly likes Functional Programming in Scala - Design Patterns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Scala
Bookmark "Functional Programming in Scala - Design Patterns" Watch "Functional Programming in Scala - Design Patterns" New topic
Author

Functional Programming in Scala - Design Patterns

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9525
    
    2

I just noticed from the table of contents that the Part 3 of this book contains some topics on design patterns. Are they just mathematical in nature and just explain the mathematical ideas behind it or does it also contains examples of adapting that to programming real time?


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!
Runar Bjarnason
author
Greenhorn

Joined: Feb 18, 2014
Posts: 12
The patterns covered in part 3 are not "design patterns" in the traditional sense. They are really interfaces (that obey some rules) that come with libraries of very useful functions. On the question of whether part 3 contains examples of using these patterns in actual programming, the answer is that parts 1 and 2 contain those examples already. The purpose of part 3 is then simply to tie all the examples together and to think about them at a higher level.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9525
    
    2

I guess some sort of design patterns or coding guidelines would be beneficial. With the amount of flexibility Scala offers in writing and composing code, it is very easy to fall prey to a code base that is a nightmare to maintain.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Functional Programming in Scala - Design Patterns