The article discusses the importance of implementing 'do nothing' functionality correctly in APIs, using Windows printing infrastructure on Xbox as an example. It explains why throwing exceptions for unsupported features is problematic and suggests better approaches like returning empty printer lists or cancellation codes to maintain app stability and user experience.
Background
The article is from Microsoft's 'The Old New Thing' blog, written by Raymond Chen, focusing on Windows development best practices and historical insights.
- Source
- Lobsters
- Published
- May 20, 2026 at 12:45 PM
- Score
- 5.0 / 10