This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

gerbal
Is there a recommended ordering of require, use, import, and alias? Does the style guide have anything to say about the preferred orderin...
New
stratacast
Hey everyone! This is my first time posting on here, and I’m getting started with writing some real Elixir code! I’m not new to programm...
New
kccarter
Looking for some advice on how a seasoned Elixir developer might go about implementing the creation of a map/struct that is dependent on ...
New
camstuart
Hello, I am somewhat new to Elixir, and finding that I am having difficulty grasping how I should handle logic for a series of sequences...
New
IwoHerka
When creating multiple clauses for a function, should I provide typespec for each one? Example: @spec foo([]) :: {:error, any} def foo([...
New

Trending Over Three Years Top

minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
GenericJam
I’m trying to find a cleaner coding style for what I’ve got happening repeatedly in my code right now. This is looking very pyramid of do...
New
Travis
Completely new to Elixir, but have an issue I am trying to figure out: When interviewing candidates for Javascript roles I usually have ...
New
nhpip
So what’s the idiomatically correct way to do nested modules? I know when applications you tend to do it the first way and follow the dir...
New
david234
I have this form <%= form_for @conn, Routes.admin_products_path(@conn, :create_product), [as: :create_product, id...
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
fceruti
Hello, I’m trying to level up my Elixir game and wanted to ask you for your favorite public phoenix projects in terms of code organizati...
New
minhajuddin
I am using the code below to generate room ids: reservations = [%{rooms: 1}, %{rooms: 2}, %{rooms: 3}]...
New
Papillon6814
Hello. I’m thinking the way to handle nil in case. |> case do x when not is_nil(x) -> ... {:ok, "xxxxxx"} nil...
New
Rich_Morin
I recently wrote some Elixir to format a list of strings (eg, author names) for output. I think it’s reasonably idiomatic, but I probably...
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
verilog
Hello, I’m new to Elixir. I was reading about the macros of Elixir but didn’t quite get it. I know C and familiar with its marcos. Alth...
New
raytracer
Hello, Elixir noob here! I’ve started a small project to learn Elixir. I have a map: map = %{ id: "100" } The id value is a string ...
New
earth7316
I'm starting a new Phoenix 1.3 application and following along with the PragProg book for authentication. The book says to put auth.ex...
New
tensiondriven
I’ve looked around for information on this in the mix format source, custom mix formatters, Elixir style guides, and haven’t found anythi...
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