Latest #idiomatic-elixir Threads Top

matt-savvy
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
giusdp
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
aochagavia
A common pattern in Elixir is to return {:ok, something} or {:error, something_else} when a function might fail. Sometimes, however, the ...
New
elt547
I have a struct representing a session request with only two fields, email and bytes. Basically the struct should either be passed around...
New
yreuvekamp
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
Maxximiliann
defmodule ArrangeOpeningCombos do def remove_illegal_third_moves_after_e4(potential_line) do [one, w1, b1, two, w2, b2, three, w3, ...
New
jpcaruana
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
dogweather
Can anyone recommend books/courses/videos that use real-world Elixir? E.g.: Idiomatic error handling design, whether it’s {ok/error, .....
New
PJUllrich
I’m extracting many fields from a map using pattern-matching against the function parameter. Sometimes only a single field is missing fro...
New
Nefcairon
Hello, I am still an Elixir newbie. To learn I keep on asking questions like this… Can I improve this two functions? It feels like but ...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

matt-savvy
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

Trending Over Three Years Top

hipertracker
How to write idiomatic Elixir for the following code in Ruby? The main difficulty here is that the immutable language cannot accumulate i...
New
elt547
I have a struct representing a session request with only two fields, email and bytes. Basically the struct should either be passed around...
New
PJUllrich
I’m extracting many fields from a map using pattern-matching against the function parameter. Sometimes only a single field is missing fro...
New
niels_bom
While learning Elixir I’ve been writing and rewriting some practice functions. Some of the rewriting was to ensure recursive functions ar...
New
dogweather
Can anyone recommend books/courses/videos that use real-world Elixir? E.g.: Idiomatic error handling design, whether it’s {ok/error, .....
New
zpeters
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
saudade
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
kostonstyle
I wrote a a function that delete the content of database. Consider following code snipped: defmodule Seeds do def delete_db(values) ...
New
rabet
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
niels_bom
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
thousandsofthem
Trying to write good elixir code. Input: data = %{"a" => 0, "b" => 2, "c" => 0, "evilkey" => 666} for specific keys i ...
New
orestis
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
jpcaruana
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
giusdp
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
Nefcairon
Hello, I am still an Elixir newbie. To learn I keep on asking questions like this… Can I improve this two functions? It feels like but ...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement