Latest #idiomatic-elixir Threads 
One of the requirements of the Book Club exercise on elixirland.dev is to seed data.
I am referring to this requirement in the exercise....
New
Okay, this one may get a bit in the weeds but here goes. First, while my application is a Phoenix app, this is more of an Ecto/Elixir set...
New
I see some people adopt this convention when naming fields or variables where the value is a boolean. I personally see this as an antipat...
New
Hi all, I am trying to learn how to write idiomatic Elixir. I decided to write an implementation of a coding challenge I was given long ...
New
Hi all,
A beginner here. I have the following plug code from an example Auth0 repo:
def call(conn, _default) do
with {:ok, token} ...
New
Hi all,
I was wondering on the best way to have a function that can return multiple errors. For example, I have something like this:
...
New
A common pattern in Elixir is to return {:ok, something} or {:error, something_else} when a function might fail. Sometimes, however, the ...
New
I have a struct representing a session request with only two fields, email and bytes. Basically the struct should either be passed around...
New
I’m writing a function that does some simple checks to see if a (crypto) wallet address can be considered valid for the specific network ...
New
defmodule ArrangeOpeningCombos do
def remove_illegal_third_moves_after_e4(potential_line) do
[one, w1, b1, two, w2, b2, three, w3, ...
New
This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
I see some people adopt this convention when naming fields or variables where the value is a boolean. I personally see this as an antipat...
New
Hi all, I am trying to learn how to write idiomatic Elixir. I decided to write an implementation of a coding challenge I was given long ...
New
One of the requirements of the Book Club exercise on elixirland.dev is to seed data.
I am referring to this requirement in the exercise....
New
Okay, this one may get a bit in the weeds but here goes. First, while my application is a Phoenix app, this is more of an Ecto/Elixir set...
New
Trending Over Three Years
How to write idiomatic Elixir for the following code in Ruby? The main difficulty here is that the immutable language cannot accumulate i...
New
I have been studying the scenic code and have a question about the module naming convention.
Here’s my problem - I quickly discovered th...
New
I have a struct representing a session request with only two fields, email and bytes. Basically the struct should either be passed around...
New
I’m extracting many fields from a map using pattern-matching against the function parameter. Sometimes only a single field is missing fro...
New
While learning Elixir I’ve been writing and rewriting some practice functions. Some of the rewriting was to ensure recursive functions ar...
New
Can anyone recommend books/courses/videos that use real-world Elixir? E.g.:
Idiomatic error handling design, whether it’s {ok/error, .....
New
I’ve been recently trying to “level up” my Elixir code. In Python there is the idea of code being very “Pythonic”. In Elixir…not sure w...
New
Hi there! Newbie to the language looking for tips on how to write more idiomatic elixir.
The problem: Given a list of intervals (start,...
New
I wrote a a function that delete the content of database. Consider following code snipped:
defmodule Seeds do
def delete_db(values) ...
New
Hey all dear Elixir fans and pros,
I try to learn with wiritng the most-elixirish functional code, sometime with the help of you.
I am ...
New
Note: this question is ported over from the official elixir repo, where I was informed not to post this type of question there. Apologies...
New
Trying to write good elixir code.
Input:
data = %{"a" => 0, "b" => 2, "c" => 0, "evilkey" => 666}
for specific keys i ...
New
I just found myself writing this:
def foo([], _), do: []
def foo(_, 0), do: []
But then I thought I could also use a guard clause with ...
New
So I've started learning Elixir. I took on the Advent of Code challenges, and solved the first day. I've skimmed a few books on elixir/er...
New
I am new (but curious) to Elixir. I want to validate two aspects of an URL :
it should not be an IP adress
the path should not contains...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







