COMPSCI 220 Programming Methodology

Week 09 Syllabus: Exceptions in A Functional World

Overview

This week we will begin by reviewing higher-order functions in Scala’s List collection. We will then look at how errors are handled in programs. In particular, we will review exceptions, understand why exceptions do not work well in a functional context, and introduce alternative methods for handling errors and exceptional situations. The Option, Either, and Try data types will be emphasized.

Reading