benja123

benja123

Elixir is a cheatcode when using claude code

I just wanted to say that I recently got back into Elixir after many years of barely touching it (not really by choice). Funnily enough, the reason is Claude Code.

In the past three months I’ve built an app to help me track when things in my fridge are about to go bad, another one to help me practice speaking slower, and most recently an app to keep all of my agents in sync across platforms and machines.

I’ve noticed that when I build projects with Python + React, Claude Code isn’t nearly as good as when I’m working with Elixir/Phoenix. I think a big part of it is how little code you actually need in Elixir to make something useful. That means Claude has less context to deal with and tends to produce better results.

On top of that, Elixir is a very simple language to understand, which makes debugging much easier.

Most Liked

dimitarvp

dimitarvp

I’ve just started experimenting with this lately via a plain rsync shim and while it works okay, it’s very manual. What approach did you take?

DevotionGeo

DevotionGeo

So Elixir isn’t just very readable for humans, but it’s also easier for AI to understand.

gtcode

gtcode

FWIW, I took a break from 20x Claude and am using only the $200 OpenAI Pro right now.

This came up because I found that Claude, even on Opus-4.6 Max, makes mistakes and produces incorrect results compared to GPT-5.4 X-High – both research/docs and implementation/debugging.

Started on GPT-5 via codex about 5 months ago. It took a good month of experimentation to learn how to prompt it correctly.

Last Post!

dimitarvp

dimitarvp

Definitely. IMO we should try to share more. Problem however is: LLMs boost our productivity and we often don’t want to stop and fine-tune the prompting rules. Feels like we’re wasting time.

Next personal character development quest unlocked, then.

Where Next?

Popular in AI / LLMs Top

jswny
Has anyone managed to get Codex (the cloud version, as seen here) to work for Elixir? I tried to setup the dependencies but mix deps.get...
New
AstonJ
After reading the below in another thread… It got me wondering how many firms are actually using or encouraging their developers to use...
New
dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
dimamik
OpenAI published a repo built primarily with Elixir (96.1%). https://github.com/openai/symphony https://github.com/openai/symphony/blob...
New
DaAnalyst
Just saw a link to this on Zerohedge: It’s not AI. It’s a controlled lab-grown HI (Human Intelligence) currently at ~800K ...
New
sergio
As more and more code is written by agents, driven by humans, what strategies are you employing to keep the slop at bay? Managing a team...
New
DaAnalyst
Claude is really good. It has definitely become an indispensable part of my toolkit. Maybe even the most indispensable after the OS itsel...
New

Other popular topics Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

We're in Beta

About us Mission Statement