Skip to content

Instantly share code, notes, and snippets.

@purefn
purefn / gist:1105553
Created July 25, 2011 23:41
Introduction to Functional Programming in Scala - abstract
Scala is billed as a multi-paradigm language, supporting object oriented programming and functional programming.
What does it mean to say that Scala is a functional programming language? What is functional programming?
What problems does it solve? What problems does it introduce and how can we solve them? In this presentation
we'll cover these questions and walk through an example of taking a traditional, imperative piece of code and
converting it into an example of traditional functional code. We'll iterate on the functional code, introducing
language features of Scala that will make our solution more generic, concise and provide better separation of concerns.
Finally, we'll talk about the one problem that traditionally confuses more functional programming newcomers, how to
do IO when you aren't allowed to do side-effects.