I am beginner and want to learn functional programming to create a WebApp (Backend + Frontend).
So, my choices are Elixir/Phoenix for server side and Elm for the Frontend. I don’t like to learn JS.
My question now. Should I start with Elm or with Elixir? Phoenix I will do last I guess.
thanks for the reply.
I have a little bit experience in front end (HTML, CSS, JS) and played around with Golang before I discovered Elixir.
Both are exciting. But when it comes to front end, seeing something immediately in the browser is not bad
If you like another beginner’s opinion I’m learning Elixir+Phoenix first, because I feel that if I know the foundation well, I will be able to easily express it with Elm.
I have this fear of developing a frontend which doesn’t click well with how the backend work and requires a lot of magic tricks. Maybe just a beginner’s paranoia or something
As such there is “no real hurry” with Elm - it’s probably good enough to get a hold of the Elm in Action MEAP and simply work through each chapter as it is made available and reinforce what you have learned by referencing that material on elm-lang.org.
Focus some time on Elixir before you get into Phoenix (which in my opinion is somewhat macro heavy which can be a bit disorienting for neophytes).
I think you’ll be better off learning Elixir first if you don’t have a strong functional background. Elixir has more resources available and is an easier language to use, which should get you to writing more functional code. Elm is very strict about types and the way you structure logic, so it’s more disciplined, and it’s also still very young and evolving. Your time right now is better spent learning Elixir and practicing the fundamental concepts of functional programming, because you will need them to use Elm effectively later.