Week 3 looked at the object oriented aspects of Scala. The evaluation of encapsulated data was the most interesting part of week 3,
The lectures went into details about some more of the ‘syntactic sugar’ of Scala.
Abstraction of classes in Scala was explained clearly in the lectures too.
The assignment for week 3 demonstrated Scala’s ability to implement sort, filtering, and union operations in just a few lines.
Polymorphism in Scala was also described. The use of types and traits was shown to enabled different ‘flavors’ of functions.