3 ms·
The real brain damage in most programming syntax is the distinction between expressions and statements. Expressions are all you need.
by gumby 4y ago
The real brain damage in most programming syntax is the distinction between expressions and statements. Expressions are all you need.
- ChadNauseam 4y agoMy favorite thing about rust is how it encourages you to keep `return` at the end of your function. `return` is one of the most annoying syntax elements to me because you mostly don't need it, and it kind of has "side effects" in a way that's not obviously visible in the structure of the function.
- throwaway2j94 4y agoThey are expressions in rust fn main() { let () = return (); }