I liked this approachable talk I watched few years ago. I wish developing in Elixir was as easy as python.
Ultimately I am still as fluent with Ruby as before, but I find developing with Elixir is easier than Ruby (it took a few years to get there though).
The achieving tasks in it or the getting paid to do so part?
Fortunately there’s Agent/OTP, but again, pretty different than other (or popular with beginners - js/python/java) languages.
But comparing:
i = 0
for x in [1, 2, 3, 4]:
i += x
vs i = Enum.reduce([1, 2, 3, 4], fn x, i -> i + x end)
There is nothing inherently "harder" about the functional version, it's just different (and of course comes with its own benefits). Enum.sum([1, 2, 3, 4])
Exist ;) sum([1, 2, 3, 4])
so obviously not my point :P;)
When you have an imperative loop the state of any of the variables youve declared is up in the air. It gets even worse if you've shadowed variable names.