Mental models in API design

Taking inspiration from Don Norman’s The Design of Everyday Things, Olg Begemann examines API design. He uses Swift standard library APIs as examples, and explains how a well designed API manages to convey the API designer’s mental model to the API user.