5 ms·
I know nothing about Elixir/erlang besides following installs for apps. I have used it, installed via ASDF on my Raspberry pi since dependencies weren't up to
by KingFelix 7y ago
I know nothing about Elixir/erlang besides following installs for apps. I have used it, installed via ASDF on my Raspberry pi since dependencies weren't up to date.
Can anyone provide a good place to start on where to get started with Elixir?
I tend to learn by working on stuff and not just reading etc, maybe a step by step in elixir? I am going into the literature now as well
Thanks in advance for any help!
- foggyboi 7y agoI learned by converting a simple Rails API that I had running to do one or two things into a Phoenix API. In my case, it was very eye opening both because it was basic ETL and because it was something that benefited from high concurrency. I especially recommend this approach because it gives you more or less the most complete cross-section of some basic data structures, some web stuff, and some database stuff via their db adapter of choice, Ecto, which is excellent. Each part can be a pretty steep (but fairly quick) adjustment depending on your background.
- KingFelix 7y agoThis is awesome, Cross-section is what I am also looking for. Appreciate the input, thank you!
- PopeDotNinja 7y agoDon't forget to learn how to write a GenServer from scratch. I lot of people I've met who hop straight into Phoenix forget to learn the basics of GenServers (and processes in general). Here's a stupid example I whipped up: https://gist.github.com/amorphid/3dec7028b05bd10f6ff3180d1992b7f8 https://gist.github.com/amorphid/3dec7028b05bd10f6ff3180d199... ^^^ you wouldn't ever code it that way, but you should (in my opinion) know what each line of code is trying to do.
- KingFelix 7y agoThis is great, I have been teaching myself everything and there are a lot of day 1 things I learned way too late, this is extremely valuable, thank you!
- PopeDotNinja 7y agoMy pleasure, I'd you want another Elixir reference examples, feel free to email me. Email in profile.
- giaour 7y agoProgramming Elixir[1] has hands-on exercises throughout. The author also published a video course[2] with exercises. [1]: https://pragprog.com/book/elixir16/programming-elixir-1-6 https://pragprog.com/book/elixir16/programming-elixir-1-6 [2]: https://codestool.coding-gnome.com/courses/elixir-for-programmers https://codestool.coding-gnome.com/courses/elixir-for-progra...
- KingFelix 7y agoExcellent! This is great thank you!
- kungfooguru 7y agoThe How I Start guide was just updated for 1.9 http://howistart.org/posts/elixir/1/index.html http://howistart.org/posts/elixir/1/index.html
- KingFelix 7y agoExcellent, I saw this researching today as well, I will check it out. Thank you!
- bostonvaulter2 7y agoI'd definitely recommend the official getting-started guide, it's quite well-written and thorough: https://elixir-lang.org/getting-started/introduction.html https://elixir-lang.org/getting-started/introduction.html
- pmarreck 7y agoI read Dave Thomas' book cover-to-cover like some kind of legitimate nerd :) It was very good. For understanding genservers there's The Little Elixir and OTP Guidebook, as well. In my case I experimented with it for at least a year before I decided to jump in, my "experiments" are here: https://github.com/pmarreck/elixir-snippets https://github.com/pmarreck/elixir-snippets (I tend to use single-file dev for exploring simple ideas; this is not a general pattern used in the community or anything, it's just something I discovered I could get by doing)