re: Elixir vs Ruby - where to use? VIEW POST

re: This is a really great exploration of the relative advantages, thanks! I'm going to refer to this the next time I think Elixir would be a good fit ...

no for loops -- this isn't an advantage by itself, but I think it is a good decision to encourage more use of recursion

Recursion is not what you want to encourage.

List comprehensions and Stream combinators, where the iteration pattern is abstracted away, are what you should be encouraging. They're way more readable than recursive functions.

code of conduct - report abuse