The State of Typing in Elixir
Elixir is dynamically typed, but ‘typing in Elixir’ now spans three things: the runtime shape you get from pattern matching and structs, optional typespecs c...
Elixir is dynamically typed, but ‘typing in Elixir’ now spans three things: the runtime shape you get from pattern matching and structs, optional typespecs c...
Phoenix LiveView handles real-time interactivity on the server, so you can build interactive pages without writing a frontend framework. Here’s a small task ...
A few ways to generate prime numbers in Elixir, from a naive check to a recursive sieve, a lazy infinite stream, and a parallel version with Task.async_strea...
You don’t always need Phoenix. For a small API, Plug alone gives you full control over requests and responses with almost no machinery. Here’s a JSON endpoin...
Elixir and Erlang comes with so much tooling that most of the time you’ll be able to do what you need to without having to depend on any external software.
You’ve probably heard that in Elixir you should let processes crash rather than trying to catch every possible exceptions. Then, after a crash, you only have...