This Week's Trending Top

This Month's Trending Top

caioaao
Hey, I know this has been discussed ad nauseum, but I couldn’t find a definitive answer or at least some consensus around this, so let me...
New

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
amacgregor
Is there any tooling or recommended way to find dead code? As my application starts to grow things can get a little messy especially with...
New
gameline
Hi, I was surprised I couldn’t find any argument on this on the net so here I am. When you make recursive function that deal with list ...
New
garrettmichaelgeorge
Are there any recommended patterns or best practices for testing Phoenix Components? In particular, how thorough should a test be, and wh...
New
pnezis
We are currently in the process of restructuring our codebase. Till now we follow the monolith way (well structured though) but we have s...
New
orsinium
I have 2 live components on the same page, one for pagination and another for search. Both write their state into URL query params which ...
New
sbuttgereit
Hi– So my project has reached a point where how users will interact with the application is important and so this week I’ve started to j...
New
amirOrbe
Hi everyone, I have a function with two parameters with default values something like: def(param1 \\ %{}, param2 \\ "") do ### end this...
New
kccarter
While browsing through the source code to Plug, I can across this block of code: defp weekday_name(1), do: "Mon" defp weekday_name(2), d...
New
Gonza
Hi! Quick question from a guy coming from Javascript: Whenever I have to handle some conditional behavior, like ‘do something depending ...
New
Almah
Hey everyone! I’m working my way into elixir and loving it so far. However, coming from an OOP background with Java/Kotlin, I don’t thin...
New
herman
I have seen some good examples for best practices in sharing test suites: Test a module for a given behaviour Test a behaviour that use...
New
DidactMacros
I put this under chat/ discussions as this does not regard a bug, just some design/best practices. I have program that I am building as ...
New
James_E
I’m developing an application that’s going to be (for the forseeable future) installed and managed in a pretty boring, standard way — not...
New
camstuart
Synopsis I am trying to understand the correct approach for capturing data returned from a JS call to a third party, and ensuring it find...
New

Trending Over Three Years Top

josefrichter
Simple question re. code organization: do you do preloads in context, or in controller/liveview? Say a basic function in context looks l...
New
amacgregor
I wanted to reach out to the community and see who is using design patterns and what are the ones that are relevant to FP and Elixir, as ...
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
gus
Hi all, I’m starting a new project where I am planning on having both JSON and HTML endpoints. I’ve been looking into some of the best w...
New
Rukenshia
I am used to early returns using the "return" keyword many languages provide. As I am currently trying to learn elixir, I found it really...
New
KallDrexx
I have a library application X that is setup to take in arguments via its start() function, and right now I’m successfully having these s...
New
axelson
I am working on an application that is structured as an umbrella application. Currently there are only two applications in the umbrella, ...
New
wfgilman
I have a behaviour for which I need to implement real functions and mock versions for testing. Right now I am using three modules to do t...
New
netto
I need to persist a value to a user session navigating between liveviews. I have found similar use cases describing some “cart” functiona...
New
jmitchell
What is the best practice for implementing a library for use in both Elixir and Erlang? My goals include: minimize code duplication fee...
New
fireproofsocks
I’m working through some test-writing around %Plug.Conn{} and I was wondering if there is an easier syntax for editing deeply nested part...
New
hakarabakara
I’m unable to get my application to read an environment variable set on Ubuntu. I keep getting the message below: ** (ArgumentError) cou...
New
axelson
I'm not clear on what the best practice is for deciding what can be set from a changeset's params vs what should be directly set in the s...
New
axelson
I am working on an application of mid to high size and complexity, it is an umbrella application with at least 3 main applications (but y...
New
lejoko
Hi, I’m currently learning Phoenix. In my Rails apps, I always define a to_s() method on each and everyone of my ActiveRecord classes. T...
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