can I start learning elixir as the first programming language? bypassing learning the ruby language? how much harder will it be? or would it be better to learn basic ruby first and then switch to elixir? what book would you recommend to start learning the language for a beginner who had no previous programming experience?
sorry for my english, I’m from russia, it’s a poor country and my goal is to learn one of the programming languages to start earning $ 10-12 / hour
I hope that I asked the question in the appropriate forum section, if I made a mistake, please excuse me
It’s good to maintain a sense of humor and wonder about it all
One thing you might gain by learning Ruby before Elixir is a greater appreciation of the language itself, and perhaps expand your ability to develop in general because the two languages are vastly different.
English and Russian, are pretty different right? This is similar to programming languages. There are massive fundamental differences between Ruby and Elixir (and others), but saying “hello” is similar in both of them.
Hello, or Привет. I don’t know if that’s right, but Google said it was. That’s what any of us do when we don’t know how to do something - search. Learning how to ask questions and search for their answers is more important than being able to recall anything from memory or even knowing what to do. That’s why people always say learn how to read documentation and other people’s code, it’s like a dictionary if you don’t know the spoken language.
That said, in my opinion, the Elixir community is the best there is. It’s refreshingly approachable and everyone seems to have left their high horses in the past.
Most people, myself included, cannot master both OOP and FP, not at the same time at least. Pick a camp, stick with it for a couple of years. Ruby is a fine language, but it is not a bridge to elixir. True, some prominent figures in the elixir world came from ruby, but they are exceptionally good programmers.
And as it happens certain foreign languages are easier to learn, especially as a first. Everything else being equal and the goal is simply to learn some foreign language, I would certainly recommend a native Russian speaker learn French before English, and as an English speaker I know starting with pretty much any romance language is much preferable to, say Turkish (currently struggling with Turkish ). I would rank both Elixir and Ruby has high on a list of accessible languages in a similar way
Hi Redya. Welcome to Elixir and programming in general.
My first thoughts are that the pleasure and productivity of Elixir and Phoenix will spoil you if you have to get a job with another language. on the other hand, it might be easier for you to get a job doing Elixir/Phoenix as junior developer with Elixir/Phoenix.
Programming Phoenix book by Chris McCord is good way to get your feet wet and the project you build with it can literally be the basis of a startup (I have met founders who are building exactly what you build in Programming Phoenix) Beware though, it is getting outdated (mainly the auth section because theres generators) and requires extra attention to get through but don’t hesitate if you get stuck to ask questions here on Elixir Forum, the people are amazingly helpful.
Final thought is that the most important thing is to build, learn and ship things with whatever language you choose.
Lol, why? I am a native Russian speaker, I love Spanish, can English and somewhat German, and currently learning Catalan, but man… When I hear French I cannot tell how to split this babbling brook into words
I think the appreciation of any new language, both spoken and programming, is unpredictable. I love ruby and I feel extremely comfortable doing ruby, and I fell in love with erlang immediately, and now I am mostly doing elixir, but it’s unrelated to syntax and/or grammar.
Probably I should not speak about Russian specifically (I only chose it as an example because of OP) but it’s pretty widely documented that English is one of the more difficult languages to learn. Experiences vary widely among individuals of course, but there are pretty clear patterns speaking statistically, with fairly obvious causes. Surely no one would claim that the difficulty of learning Ruby vs something like Perl is unpredictable?
Whatever programming language you end up learning @redya I recommend you to build several projects (even if they’re simple) as soon as possible. This will make you learn faster and also have the benefit of having a portfolio you can show to clients or future employers. Good luck!
Blockquote[quote=“hauleth, post:15, topic:34319”]
Do you have any source of that? Because of the languages I know and I am aware of then it probably wouldn’t make into first 10 of the hardest languages.
I’ve been a long time crawler here but signed up just to participate in this conversation!
I certainly agree with you here.
These are only my personal observation, so no sources for that, just opinions.
On the topic of learning Elixir, honestly, knowing Ruby first has actually made Elixir a little harder to learn, only because the syntax looks a little (a lot?) similar between the two, but the language itself behaves somewhat differently to the point that I felt it was easier if I just stopped trying to compare them in my head period. I can’t think of where I heard this, but how I came to Elixir was from hearing somewhere about how Elixir was a better Ruby (along with Crystal, which I’m yet to check out)
If you’re interested at all, I suggest checking out with the book’s Prologue: How to Program which will get you set up with a text editor and coding some simple and fun stuff very rapidly.
Here is a paper comparing literacy acquisition among European children (it is a fact that it takes English speakers much longer to master reading) and exploring the possible objective causes: https://www.pitt.edu/~perfetti/PDF/Seymour.pdf Obviously there are sociological and other factors that make studying ‘difficulty’, well, difficult, but it breaks down plenty of objectively complex dimensions to English.
I’m not the most experienced programmer around so don’t take my words as gospel. However the man who taught me Elixir did say it is easier to learn when you don’t have the coding practices of other languages already embedded in your head.