Idan Arye:
You can't do those things with `switch` because it's a statement.
In various Reddit threads I see people almost angry against the statement-expression distinction in contemporary programming languages. I am just starting to understand them.
Bye, bearophile