April 2017
Intermediate to advanced
316 pages
9h 33m
English
In this chapter, we understood how to define and use Generics. We also understood the types of problem Generics solve. Then we explored type constraints, Generic data structures, associated type protocols, and type erasure with examples.
Generics are great tools that, once you are accustomed to them, make your code more flexible, useful, and robust, so we will use them a lot in the rest of the book.
In the following chapter, we will be introduced to some category theory concepts, such as Functors, Applicative Functors, and Monads. We will also explore higher-order functions such as map, filter, and reduce.
Read now
Unlock full access