Protocols - Conclusion

In this lesson, you’ve learned:

  • How to decide whether to extend a protocol, inherit other protocols, or use protocol composition. You can explain static and dynamic dispatch and how these affect protocol extensions.
  • How and why to use type erasure with generic types.
  • The different types of types, especially terminology that arises when discussing protocols. You can explain the difference between concrete types and existential types.
See forum comments
Download course materials from Github
Previous: Types Next: Lesson 2 Quiz