In expression-oriented programming, every (or nearly every) construct is an expression which yields a value. Rust is expression-oriented, which I have found to be very pleasant. For me, it has yielded a more clear mental model of exactly what the program is doing, and feels like there are fewer "special cases" I have to keep track of in my head.
Unresolved quesitons:
- How much of the language can become expressions (surely not everything... right?)
- What is an expression? (formally)
- What are the implications of this for day-to-day usage of the language?
In expression-oriented programming, every (or nearly every) construct is an expression which yields a value. Rust is expression-oriented, which I have found to be very pleasant. For me, it has yielded a more clear mental model of exactly what the program is doing, and feels like there are fewer "special cases" I have to keep track of in my head.
Unresolved quesitons: