I am curious about the history of this. I would suggest that C / C ++ / Java / etc programmers would like a switch
and thus become a natural choice. If I would like to avoid confusion in semantics (since match
more powerful than switch
), I would assume that he would take case
from Haskell instead.
tibbe source share