'Switch' and 'if' as expressions