Beginning Functional Programming in Scala

Accepted Session
Short Form
Scheduled: Wednesday, June 19, 2013 from 2:30 – 3:15pm in B304


Have you heard about functional programming but not sure what all the fuss is about? Learn about the basic concepts of functional programming, writing functions in Scala, and the functional approach to working with collections supported by Scala's collections library. Learn about the benefits of a functional approach to programming even when you're not fully adopting a functional style. Scala is a language that allows mixing the object-oriented and functional approaches. No prior knowledge of Scala is required to enjoy this talk.


This talk starts by defining functional programming, then moves into the implementation of these ideas in Scala. Scala is a hybrid language the supports both object-oriented and functional approaches to programming. First we’ll look at the basic syntax of functions in Scala and define a few functions. Next we’ll move the first level of functional programming by using our functions with the higher-order methods of the Scala collections library. We’ll see how the functional approach makes it easy to switch processing a collection of objects to a parallel implementation. Finally, we’ll take a look at the next level of functional programming by using function composition to extract common code from similar functions.

Speaking experience

I presented at Open Source Bridge in 2010 and gave a presentation on the same topic at ApacheCon in 2010.

I have given the proposed talk internally at Chariot Solutions but not at any public events.