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

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

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