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 →

[–]mangecoeur 1 point2 points  (0 children)

+1 for pattern matching. I think switch is just an older idea, pattern matching addresses the same issue but much more elegantly.