--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The proposal, as the title of the post suggests, is to rename the "case..of" expression to "match..with".
There's precedence in both directions, case comes from Haskell. So changing it doesn't necessarily mean we'll match everyone else, pardon the pun.
Being easier for non native English speakers seems pretty subjective, some people might find case more intuitive as non native speakers.
To me, case is better at capturing the idea of programming by cases, that it's a branching construct, not just a pattern matcher.
Both have pros and cons, and are roughly equal in my mind, but changing it would break literally all Elm code ever, so I think the status quo wins in this case.
--
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
I find it easier to read: "(in) case [this thing] (is) of [this pattern], (do) [this function]".
It is a variant of the "if ... then ... else .." syntax.
To me, "match ... with" would be less easy to read (although other languages apparently use it), but also more confusing: "match [this] with [that]" also suggests "make [this] equal to [that]"