🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at research.exercism.io 🎉

Elixir

Join the Elixir Track
Elixir is a dynamic, functional language designed for building scalable and maintainable applications. Elixir leverages the Erlang VM, known for running low-latency, distributed and fault-tolerant systems, while also being successfully used in web development and the embedded software domain.
Join the Elixir Track
Track mentors

62 Mentors

Our mentors are friendly, experienced Elixir developers who will help teach you new techniques and tricks.
Track students

19,324 Students

Join thousands of students who have enjoyed learning and improving their skills by taking this track.
Track exercises

94 Exercises

Hundreds of hours have gone into making these exercises fun, useful, and challenging to help you enjoy learning.

About Elixir

defmodule HelloWorld do

  @doc """
  Greets the user by name, or by saying
  "Hello, World!" if no name is given
  """
  def hello(name \\ "World") do
    "Hello, #{name}!"
  end
end

Elixir, initially released in 2012, extends upon the already robust features of Erlang while also being easier for beginners to access, read, test, and write.

José Valim, the creator of Elixir, explains here how he built the language for applications to be:

  1. Distributed
  2. Fault-Tolerant
  3. Soft-Real-Time
  4. Hot-Code-Swapped (can introduce new code without stopping the server)

Elixir actually compiles down to bytecode and then runs on the BEAM Erlang Virtual Machine.

There is no "conversion cost" for calling Erlang, meaning you can run Erlang code right next to Elixir code.

Being a functional language, everything in Elixir is an expression.

Elixir has "First Class Documentation" meaning comments can be attached to a function, making it easier to retrieve.

Regular expressions are also given first class treatment, removing awkward escaping within strings.

Elixir's asynchronous communication implementation allows the code to be lightweight, yet incorporate high-volume concurrency.

Programmers use Elixir to handle thousands of requests and responses concurrently on a single server node.

It has been used successfully for microservices that need to consume and serve a multitude of APIs rapidly.

The Phoenix framework helps structure Elixir applications for the web.

Join the Elixir track

Self-contained finite problems with which to learn the language

I have spent time with the Clojure, Elixir & Go tracks and all have been incredibly beneficial, providing self-contained finite problems with which to learn the language. The Go language track has been wonderful in introducing me to the language, what idiomatic code is, and the many different ways in which one can solve a problem.

Relaxed. Encouraging. Supportive.

Meet the Elixir Track mentors

Once you join the Elixir language track, you will receive support and feedback from our team of mentors. Here are the bios of a few of the mentors of this track.

Avatar of Michael Dimmitt

Michael Dimmitt My Profile Page

Elixir enthusiast - great way to solve problems in a different way, I give talks at local elixir chapter meetup and hope to help others and keep elixir fun!
Avatar of Christoph Lipp

Christoph Lipp https://github.com/ser1us

The syntax is slightly ruby-ish and quite easy to grasp. But it truly is stading on the shoulders of giants (Erlang / OTP) which makes it my go to language for most new projects.
Avatar of Emanuele DelBono

Emanuele DelBono https://github.com/emadb

I'm a developer passionate about clean code that fell in love with Elixir
Avatar of Vladislav Promzelev

Vladislav Promzelev https://github.com/rutaka-n

I'm a software engineer. I develop high load systems with erlang/otp and elixir. Also I have experience with ruby and some other programming languages.
Avatar of Dino

Dino GitHub

After some time working professionally with Python I got the chance to finally build something with Elixir that now runs in a production environment. I've always been passionate about functional programming because I feel it is more closely related to Mathematics and Elixir has enabled me to rediscover Functional Programming using awesome syntax.
Avatar of Gabriele Lana

Gabriele Lana https://github.com/gabrielelana

Software craftsman, clean code disciple, Elixir/Erlang, Elm, Ruby, Rust, JavaScript, quantified self geek, Emacs all the things, 20 years on the field and still love it.
Fun. Challenging. Interesting

Community-sourced Elixir exercises

These are a few of the 94 exercises on the Elixir track. You can see all the exercises here.

Accumulate
easy
recursion
reduce
Series
easy
string processing
Triangle
easy
algorithms
Anagram
easy
filter
enumeration
Kindergarten Garden
easy
string processing
Spiral Matrix
medium
lists
transforming
Passionate. Knowledgeable. Creative.

Meet the Elixir Track maintainers

The Elixir Maintainers are the brains behind the Elixir Track. They spend their spare time creating interesting and challenging exercises that we can all learn from. We are incredibly grateful for their hard work. Here are the bios of a few of the maintainers of this track.

Avatar of Tim Austin

Tim Austin

Exercism has been a great way for me to stay current and expand my developer experience in new areas. I am excited to be working with the elixir track, because I appreciate the clarity/idiomaticity of the elixir language. I want others to enjoy this track as much as I have.
Avatar of Devon Estes

Devon Estes

@elixir-lang developer. Maintainer of @bencheeorg & the Elixir track at @exercism.
Avatar of Cohen Carlisle

Cohen Carlisle

I love Elixir for its productivity, elegant syntax, and functional nature. I've written it professionally and for fun. I hope to help people get excited about Elixir and learn some things myself, as well.

Get started with the Elixir track. As with everything on Exercism, it's 100% free!

Join the Elixir Track