Latest #best-practices Threads 
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
Claude Code Plugin for Elixir: Custom Skills and Hooks for Better Code
Quality
I’ve been experimenting with Claude Code for Elixir devel...
New
We have a rather large code base ~2200 elixir files and growing. On my nice Ryzen 9, it takes ~47 seconds to analyze the generated PLT fi...
New
I read the book “Domain Modelllng Made Functional” several times. And it was absolute clear, that I want to have some types sich as
“Unc...
New
We’re using Livebook for data analysis and are putting all of our notebooks in a common private git repository. We’ve built up some utili...
New
The docs have a few lines like
A task may run for too long and would be interrupted by code releases or other node restarts
(from: Rec...
New
Hi everyone, I have a function with two parameters with default values something like:
def(param1 \\ %{}, param2 \\ "") do
###
end
this...
New
Hey all.
I’d like to know your thoughts on whether it would be helpful to review the notion of establishing the standard of using gerund...
New
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
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
This Week's Trending
This Month's Trending
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
Claude Code Plugin for Elixir: Custom Skills and Hooks for Better Code
Quality
I’ve been experimenting with Claude Code for Elixir devel...
New
Last Three Year's Trending
Is there a recommended ordering of require, use, import, and alias? Does the style guide have anything to say about the preferred orderin...
New
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
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
I’m curious what the consensus (if there is one) on case vs if statements for conditionals is. Specifically, in cases where you are only...
New
Are there any recommended patterns or best practices for testing Phoenix Components? In particular, how thorough should a test be, and wh...
New
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
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
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
Hi everyone, I have a function with two parameters with default values something like:
def(param1 \\ %{}, param2 \\ "") do
###
end
this...
New
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
Hi! Quick question from a guy coming from Javascript:
Whenever I have to handle some conditional behavior, like ‘do something depending ...
New
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
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
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
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
Trending Over Three Years
Simple question re. code organization: do you do preloads in context, or in controller/liveview?
Say a basic function in context looks l...
New
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
Hey everyone, I often see questions regarding best practices, and examples that people can reference so they know how to structure and ac...
New
Completely new to Elixir, but have an issue I am trying to figure out:
When interviewing candidates for Javascript roles I usually have ...
New
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
Use factories and not fixtures
Gods, I cannot even express how much I disagree with it.
New
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
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
I am working on an application that is structured as an umbrella application. Currently there are only two applications in the umbrella, ...
New
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
I need to persist a value to a user session navigating between liveviews. I have found similar use cases describing some “cart” functiona...
New
What is the best practice for implementing a library for use in both Elixir and Erlang? My goals include:
minimize code duplication
fee...
New
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
Hello all, my first real software engineer job was in Elixir and I have since, largely through the help of this community, grown as an en...
New
I’m unable to get my application to read an environment variable set on Ubuntu. I keep getting the message below:
** (ArgumentError) cou...
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







