Are you an EPFL student looking for a semester project?
Work with us on data science and visualisation projects, and deploy your project as an app on top of GraphSearch.
This lecture covers the concept of class hierarchies and pattern matching in Scala. It starts with the basics of defining classes and subclasses, then delves into the use of case classes and enums for data modeling. The lecture also explores pattern matching on ADTs and simple enums, showcasing their utility in domain modeling. Additionally, it discusses the implementation of abstract classes and objects for representing non-negative integers. The session concludes with an overview of function values and their expansion in Scala.