A new Swift video series exploring functional programming and more.
#33 • Monday Oct 15, 2018 • Subscriber-only

Protocol Witnesses: Part 1

Protocols are a great tool for abstraction, but aren’t the only one. This week we begin to explore the tradeoffs of using protocols by highlighting a few areas in which they fall short in order to demonstrate how we can recover from these problems using a different tool and different tradeoffs.

#33 • Monday Oct 15, 2018 • Subscriber-only

Protocol Witnesses: Part 1

Protocols are a great tool for abstraction, but aren’t the only one. This week we begin to explore the tradeoffs of using protocols by highlighting a few areas in which they fall short in order to demonstrate how we can recover from these problems using a different tool and different tradeoffs.


Subscribe to Point‑Free

This episode is for subscribers only. To access it, and all past and future episodes, become a subscriber today!

See subscription optionsorLog in

Sign up for our weekly newsletter to be notified of new episodes, and unlock access to any subscriber-only episode of your choosing!

Sign up for free episode

Chapters
Introduction
00:05
What’s a protocol?
01:35
Empty-initializable
02:47
Combinable
06:20
Protocol composition
09:33
The problem with protocols
11:11
Another example
13:51
Till next time…
16:45
Credits

Hosted by Brandon Williams and Stephen Celis. Recorded in Brooklyn, NY.