patrickdm

patrickdm

Elixir for teaching programming

Hello, I will start soon to teach programming basics to a friend who’s is totally new to the subject. I’d really like to use Elixir as her first ever programming language. Would you make the same choice? Or do you think I’d better go with something more mainstream and object oriented like python, ruby, or even javascript (and staying away from all its quicks). I feel FP far more intuitive and natural (but that’s the way my brain works) so Elixir would be my obvious first choice. what do you think about it? Are there any drawbacks I’m not considering? Thank you for your valuable opinions.

Most Liked

alice

alice

The only thing I noticed was that the author of the online course kept saying that functional programming is not intuitive and I was like what are you talking about OO is not intuitive this is totally intuitive - input and output, what’s more intuitive than that. lol.

mindriot

mindriot

It maybe could be a good choice in some cases, I’m not really in a position to judge that. One thing I do think is important though is to think about the outcome. She would like to learn a programming language presumably for a reason, how does elixir specifically fit into that context. For example if she would like to make a mobile game then it probably isn’t a very good choice and she will likely have to learn an OOP language after to get there so the value in learning elixir is first fairly low with a high cost of time commitment. Similarly if she is thinking of a career change but there are no elixir jobs in the area she lives then it likely won’t further her goal that much in comparison to investing the time in something that has those career prospects.

dimitarvp

dimitarvp

I remember a linked article on HN 1-2 years ago, written by several CS professors, that students who start off with functional programming can then very easily learn imperative / OOP programming but the reverse has been proven to be not true: if you start with imperative and OOP then it’s really hard to rewire your brain to work with FP. It does happen but it takes more time and effort.

So yep, Elixir as a first language would work better.

Last Post!

LeoUgiete

LeoUgiete

I think it’s excellent, at University I started with Haskell, another functional language and this kinda avoid some OO bias and helped me when I was introduced to C, Python and so on

Where Next?

Popular in Discussions Top

AstonJ
Are there any Elixir or Erlang libraries that help with this? I’ve been thinking how streaming services like twitch have exploded recentl...
New
AlexMcConnell
The reason that Rails is as popular as it is is because it’s very easy for relatively inexperienced developers to get a lot of work done....
588 20070 166
New
pillaiindu
In django there is a cache framework backed by memcached. Rails also puts a lot of emphasis on caching, and even the idea of russian-doll...
New
PragTob
Hey everyone, this has been brewing in my head some time and it came up again while reading Adopting Elixir. GenServers, supervisors et...
New
owaisqayum
I have a sample string sentence = "Hello, world ... 123 *** ^%&*())^% %%:>" From this string, I want to only keep the integers, ...
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
shishini
I think this twitter post and youtube video didn’t get as much attention as I hoped I am still new to Elixir, so can’t really judge ...
New

Other popular topics Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement