How to apply UX principles and methods to API usability
summary
Summarizes concrete fixes from work on Flutter: five lessons include reducing context switching by surfacing high-quality docs in-source, helping mental models with diagrams that map classes to behaviors, renaming Block to ListView to match developer language, curating runnable examples with screenshots, and redesigning the colors API so shades appear as properties that autocomplete and show a preview. Methods center on API usability testing: observe developers on realistic tasks with think-aloud, prioritize behavioral data, and use findings to change API, tooling, or docs.
AI-written summary · about
chapters (21)
- 0:00Intro
- 0:47Flutter
- 2:50What is API usability
- 3:31The three pillars of API usability
- 4:20Why is API usability important?
- 5:00Reduce Context Switching
- 6:36Help Build Mental Models
- 6:57What is a mental model?
- 8:29Visualize the Conceptual Model
- 8:49Speak Your Users' Language
- 9:37What about the name ListView?
- 10:37Enable Programming by Example
- 12:21Promote Recognition Rather than Recall
- 12:42Examples of Recall vs. Recognition in UI
- 14:25Recap: Five API Usability Lessons
- 15:044 steps in conducting an API usability
- 15:151. Prepare the API you want to test
- 16:08Ask the participant to "think aloud"
- 16:27An example of the "think aloud" protocol
- 17:11Data from usability testing, ordered by reliability
- 18:01Summary
