September 2021
Beginner
560 pages
10h 49m
English
In unit 5, you learned about the structure List and its most common operations. In this unit, you’ll discover other collections that Scala has to offer and how to handle errors in a more functional style. In the capstone, you’ll parse data from the goodbooks-10k data set to define a book collection for your library and manage book loans. In particular, we will discuss the following subjects:
Lesson 34 introduces you to the class Set to represent an unordered group of distinct values. You’ll also learn how to traverse its elements and manipulate them using its map, flatten, and flatMap operations.
Lesson 35 shows you how to perform the union, difference, and intersection operations on two sets. ...
Read now
Unlock full access