Fixing switch - what I want out of switch statements
samuellevy.com
samuellevy.com
While this is a worthy goal, I don't think your proposed syntax is very readable. It might be better to think a bit more abstractly, and instead of asking, "How can we improve switch?" ask, "What features does a language need in order to facilitate implementation of <whatever>?"
The example there isn't what you would expect to find in the real world (instead it's a very cut-down piece of code to show how it would flow, and show of the main points of my thinking). That being said, the switch statement tends to be difficult to read in general, and is frequently misunderstood by new coders. I remember that when I started learning to program, I just expected it to work like this already, and was confused as to why I couldn't just change the variable I was checking and trigger other cases.