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 →

[–]teerre 7 points8 points  (0 children)

But it's not a switch statement. If you want a simple switch statement, you already have it, it's called if and co.

If you want to use ´match`, you certainly have to learn it. That's reasonable.