Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Functional Programming in Scala - Design Patterns

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Runar Bjarnason
author
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic