The document summarizes a presentation about becoming a functional programmer. It covers topics like immutability, pure vs impure functions, recursion, higher-order functions, and concurrency. The goal is to introduce functional programming concepts and vocabulary. The presentation includes an agenda, introductions, pre-requisites, topics to be covered, and next steps for learning more about functional programming in Scala.
25. 25
Variables in Scala
var expenses = 4000.0
expenses = 5000.0
val income = 10000.0
// compilation error
income = 9000.0
var (Mutable) val (Immutable)