4. Why Scala?
• Immutable
• First Class Functions
• Type Interface
• Traits (oh yes!)
• Pattern Matching
• Actors (SPOILER ALERT)
• The IDE ❤
• ScalaTest
• Case classes, lazy, monads, implicits, Akka, Play, Spark…
5. Why Scala
In order to code less and save money in keyboards
As a catalan lazy developer
I want a programming language that makes for me the boilerplate
Feature:
17. FizzBuzz
• Given a number:
• If it’s multiple of 3 return “fizz”
• If it’s multiple of 5 return “buzz”
• If it’s multiple of 3 and 5 return “fizzbuzz”
• If it’s not multiple of 3 or 5 return the number