Friday, February 19, 2016

Swift Protocols With Associated Types

Alexis Gallagher gave a great conference talk about Swift protocols with associated types, which he calls PATs. They are very weird compared with regular protocols in Swift or Objective-C, and he explains why that is and why they don’t use generic protocol syntax.

See also: An Extended Comparative Study of Language Support for Generic Programming (PDF).

Previously: Swift Protocols.

3 Comments RSS · Twitter

[…] Previously: Swift Protocols With Associated Types. […]

[…] Swift Protocols With Associated Types, Swift Type Erasure, Patterns for Working With Associated […]

[…] Swift Protocols With Associated Types, Swift Protocols Wishlist, Patterns for Working With Associated Types, Swift Type […]

Leave a Comment