Hacker News new | ask | show | jobs
by bobbylarrybobby 1467 days ago
Ternary syntax was statement-oriented languages' compromise to get one bit of nontrivial expression syntax into the language. In Rust everything is already an expression, including if-else, so additional syntax isn't necessary.