mark-a-12

mark-a-12

Looking for Livebook resources on writing idiomatic Elixir code

hey everyone, I’m new to learning programming and have decided to focus on elixir as first language. In order to learn, I am going to work on porting an existing open source web app backend server project written in another language to Elixir. I’ve watched a number of Elixir talks and am in the process of reading Elixir in Action. I’ve also gone through and bookmarked a few of the links from the Cheatsheet section in the discord getting started channel.

Anyway, I was wondering if anyone is aware of any comprehensive Livebook resource that features code snippets and examples for writing idiomatic elixir code.

Thanks!

Most Liked

RudManusachi

RudManusachi

Hello, @mark-a-12 :wave: and welcome to the community!

While not in the form of a LiveBook, but there is this GitHub - christopheradams/elixir_style_guide: A community driven style guide for Elixir with snippets of codes.

Also check out recently added to the docs page about anti patterns.

And since you are going to work on a web app backend, I suppose you are going to use Phoenix. Anyway, there is a recently updated guide on contexts I’d recommend to go through when structuring the project (idea of contexts also apply well to any project, not necessarily web-apps).

hugobarauna

hugobarauna

Livebook Core Team

I’m not sure about resources for writing idiomatic Elixir. But I think for staging, Elixir in Actio is already great!

For learning programming and Elixir using Livebook, there’s Dockyard Academy.

And once you want to learn more about recipes/patterns of using OTP with Elixir, there’s the Elixir Patterns book (shameless plug :sweat_smile:) Alex Akoutmos and I wrote.

Where Next?

Popular in Chat/Questions Top

Fl4m3Ph03n1x
Background I have been reading quite a lot about design and architecture in Elixir and overall FP. My latest incursions took to me the On...
New
Fl4m3Ph03n1x
Background Hello all! So after my controversial introduction with Learning Elixir, frst impressions ( plz don’t kill me ! ) - I saw a ton...
New
armanm
I know zero downtime deployment can mean different things depending on your application and what your users can tolerate so expectations ...
New
New
asfand
I already created an Elixir Phoenix app for learning purpose. In this app students of our collage will create profiles, and will chat wit...
New
zervis
Hello, I’m about to dive into web development. I was thinking about Laravel or Ruby on Rails, but then I found Phoenix. Do you recommen...
New
imanuelgittens
Hey all! Just joined the forum and I’m very excited to learn the language. I just finished reading the documentation and I was wondering ...
New
AstonJ
It’s been a while since we asked this - I’m sure others (especially newcomers to the language) will be interested to hear how you’ve all ...
New
logesh
Could someone provide a learning path for functional programming for who came from oops background.? Thanks in advance
New
venomnert
Background I have been a backend elixir developer for about 3 years now. I have been mainly working on simple CRUD applications. Context...
New

Other popular topics Top

shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
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
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
sacepums
Hey guys. I'm new to elixir and im really stocked about it. But I ran into a bit of problem - I need to convert a date sting, for examp...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
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
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

We're in Beta

About us Mission Statement