3 ms·
Your trivial example is already spaghetti code; I'm loathe to imagine what real-world use would look like. It's also an internally inconsistent concept: conside
by Ralith 14y ago
Your trivial example is already spaghetti code; I'm loathe to imagine what real-world use would look like.
It's also an internally inconsistent concept: consider "case 3" and "case s > 4". Are you comparing values to the switch statement, or testing conditions like an if statement? What do you do when those two come into conflict?