API-first package design — and learning patchwork in the process
summary
An API-first approach drives the design of patchwork so a single plus operator composes ggplots into aligned, nested layouts without extra complexity; the package explicitly aligns axes and titles, can free alignment for plots with odd spacing, and offers plot_layout(guides = "collect") to merge redundant legends and titles. The claim is that coherence and composability let a tiny surface scale to arbitrary complex figures, and real-world use and downstream ports (e.g., matplotlib adopting a similar operator) show it works.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 1:24Patchwork
- 2:38Talk
- 5:12Having a mission
- 11:20Embrace the no
- 17:58Powerful Simplicity
related talks
42mGood APIs don't need a tutorial
01h 18mAPI design: Lessons Learned
27mBuilding Great Web APIs
21mScaling API Design
24mGraphQL, gRPC, REST, Oh My! - A Method for Unified API Design
24mBuilding APIs Together: How to Embrace a Multi-Player Strategy.
24mFixing API Chaos: A Practical, Open Method to Structure API Work
47mAPI Design Principles
