Protocols - Conclusion

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

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