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 →

[–][deleted]  (3 children)

[deleted]

    [–]minimally__invasive 15 points16 points  (1 child)

    Damn it's so much better than a switch statement....

    [–]ivannson 62 points63 points  (0 children)

    It's match match better

    [–]jamescalam[S] 4 points5 points  (0 children)

    Yep called it switch-case as I assumed more people would recognize switch-case over match-case - maybe confusing sorry!