Hướng dẫn thử thách
1 / 6
Questions to Ask
### Giai đoạn: Nền Tảng & Khái Niệm Cốt Lõi
**Questions to Ask**
- API as small as possible, as large as needed? - Is there one way of doing one thing, not multiple ones? - Is it consistent, does it follow the principle of least surprise? - Clean split of API/internals without internals leaking into the API? - Are there no breaking changes to user-facing parts (API classes, configuration, metrics, log formats, etc)? - Is a new API generally useful and not overly specific to a single use case? Learn more from the following resources: - [@article@API Design Best Practices Guide - Fern](https://buildwithfern.com/post/api-design-best-practices-guide) - [@article@RESTful API Resource Naming](https://restfulapi.net/resource-naming/) - [@article@Web API Design Best Practices - Microsoft Azure](https://learn.microsoft.com/en-us/azure/architecture/best-practices/api-design)
### Khái niệm cốt lõi:
1. **- API as small as possible, as large as needed**
2. **- Is there one way of doing one thing, not multiple ones**
3. **- Is it consistent, does it follow the principle of least surprise**
Nhiệm vụ của bạn
Viết giải pháp của bạn cho bài học **Questions to Ask** vào trình soạn thảo bên cạnh. Bấm **Chạy Thử Nghiệm** (hoặc nhấn `Ctrl+Enter`) để thực thi và ghi nhận hoàn thành kỹ năng trên Roadmap.
### Kỹ năng cần đạt:
- `Questions`
- `to`
- `Engineering`
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.cs
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵