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!

3 Likes

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).

1 Like

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.