Hacker News new | ask | show | jobs
by sosodev 785 days ago
That's a fine perspective but the way you worded your comment was evocative of the typical "X is objectively better than Y" tech comment. Are you aware that Ruby includes a lot of functional programming features (including pattern matching)?
1 comments

I think it’s great that functional programming is making its way into traditional imperative languages - even JavaScript (I recently came across https://gcanti.github.io/fp-ts/ as a pretty extreme example)

Elixir/Erlang has function-level pattern matching, which I really like. I’ve yet to see it anywhere else, though my understanding is it came from Prolog.