5 ms·
Elixir does a great job with pattern matching. When I first heard that ruby was introducing pattern matching, I was super excited and hoped it might be a subset
by mrinterweb 3y ago
Elixir does a great job with pattern matching. When I first heard that ruby was introducing pattern matching, I was super excited and hoped it might be a subset of what elixir can do. I was disappointed with what ruby shipped.
- freedomben 3y agoSame. I love Ruby so much but after doing so much in Elixir, the lack of elixir-style pattern matching and a pipe operator are so painful. Ruby is still a wonderful language and one of my favorites, but these were major missed opportunities. I got the impression that they wanted something different than what other langs have done, and I think it's great to consider alternative suggestions but it crossed the line a bit into NIH syndrome IMHO and I think we're worse off for it. Either that or the decision makers didn't really understand the point/purpose of it, but that feels unlikely to me.