3 ms·
> You could do something context sensitive to make 'return' act differently in a switch expression versus a switch statement But you shouldn't. That would bre
by earenndil 9y ago
> You could do something context sensitive to make 'return' act differently in a switch expression versus a switch statement
But you shouldn't. That would break existing code. What if you actually want to return something from within a switch statement?
- mikelward 9y agoYou ignored the parts where I said "already has a different meaning" and "that seems more confusing".