martin
Where did the name Elixir come from?
I came across a reference to Potion, the language by _why the lucky stiff. It got me thinking that maybe Elixir is a nod and homage to _why. But I realised I don’t know the origin of the name Elixir.
Trending in Discussions
A little off-topic, but I feel like people here have a good head on their shoulders.
I used to be quite good at making software. Was luc...
New
Hi there! :wave:
@frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
I’ve been using Emacs as my main code editor for more than a two years. It’s a custom build version although I’ve tried doom emacs and sp...
New
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with.
But I don’t use it anymore.
Serverless was the promis...
New
Lately I’ve been thinking about how to organize components as a LiveView application grows. One of the pain points I’ve found (for myself...
New
What IDE or editor are you using for Elixir development?
Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #ai
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #security
- #metaprogramming











Showing Posts 36 to 27- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
StefanHoutzager
It wouldn’t surprise me. Dahl loved a beer (stout?) in his favourite pub “the old swan” I saw in a documentary. Maybe he met these men there too: “There was only one disaster. Three silly men who had drunk too much beer for lunch decided to climb over the high fence surrounding the pit, and of course they fell in. There were yells of delight from the giants below, followed by the crunching of bones.” (bfg)
ardhitama
Owh.. come on… it must be have some meaning no? Considering elixir is a cult right now.
*jk
alzearafat
When I google elixir, at least I comes to these results :
But I think Elixir name is cool!
davearonson
So Guinness is frobscottle? See Do bubbles in Guinness go down? for some enlightening explanation.
StefanHoutzager
It won’t come from here but somehow elixir reminds me of frobscottle, an invention from Roald Dahl.
OvermindDL1
I usually pattern match myself, consider these two cases:
Case 1 is using List.first, it works.
Case 2 is pattern matching, same as Case 1 but I like it as it makes it explicit what it is doing.
Case 3 is a case statement, longer sure, but the usage of the match is handled and if the list is empty that is also handled.
However, what if
myVarwasnil? Maybe even through no fault ofsomeFunction/1but rather some other call or so. Cases 1 and 2 and 3 all crash.A statically typed system on the other hand has to know what is returned, like given this equivalent OCaml code:
Given
someFunction "blah"can only return a list (otherwise it throws an exception if an exceptional condition):firstelse throws an exception.firstelse throws an exception.However, given
someFunction "blah"can return a list or()(Ocaml’s version ofnil) as aResult.tor just anoption, say because of an internal refactor later on in the project and the above original code was missed in the update, then:You either have to
withDefaultthe option/result to a default value to get back to the original handling, or you have to handle the option properly. In either case in a dynamic language this is missed and will crash sometime later (hopefully in tests, most likely in prod, especially if the tests do not test anilcase because there was nonilcase originally). Dialyzer ‘might’ catch this if all paths can be confirmed, but that cannot be guaranteed.terakilobyte
Agreed. And you are correct, XCode showed a warning on that line of code. Just playing a bit. So far in my Elixir adventures I’ve yet to try to access an item by index. I either filter down or use
List.first/1orList.last/1OvermindDL1
Heh, though using a decent C/C++ compiler that would be caught since you are using constant values and you’d get a warning, where elixir gives nothing. ^.^
Not that elixir is bad at all, most fully typed languages would not get this either without dependent types support (I.E. not Haskell/OCaml/Elm/etc… very few languages have dependent types, although you can emulate them with OCaml’s modules, they are near unrepresentable in Haskell), just it is a folly to consider it a solved problem. ^.^
terakilobyte
True, true. But at least it returns
nil, vs something likeOnor.io
I have to thank you for rekindling my interest in looking at OCaml. I had forgotten how much I like the syntax and with an option like Bucklescript I don’t even have to feel guilty about not wrestling with JavaScript.