Designing Odin’s Casting Syntax
Summary
This article explores Odin's casting syntax, explaining why there are multiple casting forms and how design decisions balance readability with parsing constraints. It covers departures from C-style syntax, scannability, and the human-centric design process behind language features, with concrete examples and code.