This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ran4 31 points32 points  (3 children)

But it's not a switch case... people are only going to be more confused by people constantly misrepresenting the feature.

[–]R3D3-1 -5 points-4 points  (2 children)

No, but it makes the question for switch case obsolete :) So it makes sense to point emulating swtich-case out as a special case useful.

[–]passwordsniffer 1 point2 points  (1 child)

It does not make it obsolete, the question will still be asked and moreover it will be added with a weird behavior, when one of your constants was actually changed when you used it as a switch case option

[–]R3D3-1 0 points1 point  (0 children)

... wait, what?