Umit

Umit

Elm with Elixir & Phoenix - which one to learn first (beginner)

Hi,

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.

Appreciate any suggestions.

Thanks a lot.

Best regards,
Umit

Most Liked

AstonJ

AstonJ

There are a lot more books out for Elixir and it is considered more mature than Elm at this moment in time. But I guess it could depend on two things:

  • Do you have any experience with either (or front end or back end?)
  • Which excites you the most?

Personally I am learning Elixir first and Elm second :slight_smile:

peerreynders

peerreynders

That’s going to make matters extremely difficult - there really is no escaping JavaScript when developing web applications.

You can improve matters with Functional-Light JavaScript and JavaScript Allongé, the “Six” Edition after you get the basics down first (see also ECMAScript book).

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).

Is elixir good for beginner programmer?

cjhowe

cjhowe

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.

Where Next?

Popular in Discussions Top

100phlecs
Are there any downsides, like perf issues, to putting all functional components in CoreComponents as long as you prefix it with the conte...
New
jeramyRR
This is an interesting article to read. Elixir’s performance, like usual, is excellent. However, it seems like the high CPU usage is co...
New
cvkmohan
The upcoming Phoenix 1.6 release looks very interesting. Became a habit to watch the commits - and - what they are bringing in. phx.gen...
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
lucaong
Hello Elixir and Nerves community, I have been working for a while on an open-source embedded key-value database for Elixir, that I call...
230 14049 124
New
hazardfn
I suppose this question is effectively hackney vs. ibrowse but we are at a point in our project where we have to make a choice between th...
New
acrolink
How does the two languages compare when it comes to server side application development? Any experiences or ideas? Thank you.
New
scouten
I’m looking for a host for the server part of a small (personal) side project that I’m working on. It’s currently written in Node.js and ...
New
fireproofsocks
This is more of a general question, but I’m wondering how other people in the community think about the pattern matching in function sign...
New

Other popular topics Top

hariharasudhan94
lets say i have a sample like a = 20; b = 10; if (a > b) do {:ok, "a"} end if (a < b) do {:ok, b} end if (a == b) do {:ok, "equa...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

We're in Beta

About us Mission Statement