Setting Expectations
đ Writing Tip #2: Leverage spacing
Key points in this video
When creating documentation, itâs important to set expectations. These expectations come from empathyâbeing able to put yourself in the shoes of your consumers and colleagues.
Set expectations for what you want and what you donât want.
What you donât want (or things to watch out for):
- Incorrectness: Docs donât match actual API behaviour
- Incompleteness: Documentation is missing key information
- Bloat: Too much information at the wrong place
- Inconsistency: Different terms or UIs are used to refer to the same concept
- Complexity: Documentation is written with confusing or complex language.
- Ambiguity: Documentation is unclear and forces readers to guess
- Obscurity: Documentation is hard to find or navigate
- Fragmentation: Documentation for one resource or task is scattered across multiple pages or locations
What you want (or things to aim for):
- Correctness
- Completeness
- Conciseness
- Consistency
- Clarity
- Accessibility
Don't obsess over perfection. Focus on doing the best you can, and being willing to improve.
Practice makes (close to) perfect. Start with manually looking out for these pitfalls and targets, and over time, theyâll become a part of you.
Exercise
Browse through the documentation sites listed below. Based on what youâve learnt about expectations, identify some positive and negative expectations. You can share your thoughts in the course Discussion area.
- Yelp: https://www.yelp.com/fusionÂ
- Reddit: https://www.reddit.com/dev/apiÂ
Tip: It might help to pretend you want to use the API for something specific. Think through the process youâd use and the information youâd need. How would you go about it? Do the docs have the complete information you need? How easy is it to find it in the docs? Here are some sample use cases:
- Yelp: You want to find businesses hosting free fashion events close by.
- Reddit: You want to post the event and business information to a subreddit called âeventsandbusinessesâ (or create it first if it doesnât exist)
1 comments