Protocol-oriented programming

In this section, we have covered the following:

In the next section, we'll go through a comprehensive guide about type erasure. Type erasure is a well known and used design pattern in Swift that helps to work with protocols and generics until generalized existentials are part of the language.