patrickdm

patrickdm

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.

First Post!

alice

alice

I am also a beginner at programming with some basic experience in JS and was going to ask whether learning Elixir as a first language is a good idea. IMO FP is also more intuitive and from what I read might be easier to learn if you have no prior experience in OO.

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? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 92995 915
New
AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4616 55835 594
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
matt-savvy
Is there a word for the ~> symbol used in Version strings? Do you also just call it a Squiggle Arrow™ ?!
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
aseigo
ICal is a library for interacting with iCalendar data. It parses iCalendars into typed Elixir structs via ICal.from_ics, and can prepare ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews