This directory contains code from Point-Free Episode: Protocol-Oriented Library Design: Part 1
Perhaps the most popular approach to code reuse and extensibility in Swift is to liberally adopt protocol-oriented programming, and many Swift libraries are designed with protocol-heavy APIs. In today's episode we refactor a sample library to use protocols and examine the pros and cons of this approach.
0037-protocol-oriented-library-design-pt1
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||