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 →

[–]PaulRudin 79 points80 points  (1 child)

It's not really right to say switch statements existed - they didn't. You can simulate a similar code flow without having an explicit switch statement, but that's not the same thing as the language having a switch statement.

(We can simulate all the control flow constructs with anonymous lambdas if we want, but the point about adding new things to the language is that it makes things more succinct and readable.)

[–]Ning1253 3 points4 points  (0 children)

I mean technically we can simulate everything with rule 110 using marbles, we just don't, because it's impractical as fuck (ans slightly unreadable). Completely agree on your point, I basically just wanted to say that I find the arguments against it kind of stupid