A lecture given at the DevCon TLV conference in February 2013 (http://devcon-february.events.co.il/presentations/771-scala-best-practices):
Although Scala has been gaining tremendous traction over the last couple of years, it's still a relatively new language with few "common knowledge" best- and worst-practices.
This lecture will attempt to distill working knowledge from 1.5 years of production Scala use, articles from around the web and other sources into a coherent set of recommendations for those considering Scala, as well as existing practitioners.
Sample code taken from thescalaz Applicative example: http://scalaz.github.com/scalaz/scalaz-2.9.1-6.0.2/doc.sxr/scalaz/example/ExampleApplicative.scala.html
Image source: http://pumpercake.com/2011/04/22/seven-layer-cake/ (license unknown)Such “gems”: IterableLike.sliding, TraversableLike.groupBy, a Map is also a function!