Named and Optional Arguments are Awesome
Summary
The article surveys named and optional arguments across languages (Dart, C#, TypeScript) and critiques Rust's current lack of this feature. It reviews multiple proposals (default field values, structural records, public arguments, Dart-like syntax, etc.) and presents the author's preferred approach, including code examples and discussions of trade-offs and future possibilities.