0.5× 1.5×

Poetic APIs

Location: MTV - 10 Forward

Duration: 38 minutes

API design is one of the most difficult areas of programming. Besides solving your immediate problem, you must also accomodate unknown future ones—and fit nicely into other people's brains. Let's explore how to do this without a time machine, considering compactness, orthogonality, consistency, safety, coupling, state handling, and the messy interface with human cognition, all illustrated with practical examples—and gruesome mistakes—from several popular Python libraries.

Tags: design, python, api, poetry

Channels: Main

Views since archived: 1,847