Example Design
Create code examples that teach effectively through progressive complexity.
Decision Tree: Which Example Type?
What does the user need?
├─ Show a single concept → Snippet (5-15 lines)
├─ Working code for a feature → Complete example (20-50 lines)
├─ Step-by-step teaching → Tutorial (multi-file, progressive)
└─ Reference for production use → Reference app (full project)
Example Types
| Type | Purpose | Length | When to Use |
|---|
[Description truncada. Veja o README completo no GitHub.]