by ngruhn · 1y ago · 0 comments
Also, I think Rust would consider itself to be a mainstream language, though they aren't techically "making this switch" because the language has always been expresion oriented from the outset. The Book has about two paragraphs about the statements in the language and then a whole chapter on expressions because almost everything is an expression.
[1]: https://doc.rust-lang.org/reference/statements.html
[2]: https://play.rust-lang.org/?version=stable&mode=debug&editio...