What lives here
Fifty short lessons, one unbroken chain: every page ends with a link to the next one, so you can read the course start to finish without ever wondering where to click. Each lesson teaches one idea with short Elixir examples, from the first script to supervised OTP trees:
- Start here: What is Elixir and where it runs — then follow the chain through lesson 50.
- Language core, lessons 2-20: install, iex, first script, variables, numbers, strings, atoms, truthiness, conditions, recursion, lists, tuples, maps, keywords, functions, defaults, matching, case, with.
- Design and OTP, lessons 21-40: modules, imports, structs, protocols, behaviours, pipes, Enum, Stream, comprehensions, strings, sigils, binaries, exceptions, ok tuples, files, processes, GenServer, supervisors, tasks, applications.
- Finish, lessons 41-50: Mix, dependencies, ExUnit, doctests, debugging, configs, releases, two capstones (todo CLI and HTTP server), and the hero roadmap with every lesson on one page.
How to use this course
Type every example, do not just read it. Run each snippet in
iex before moving on - the course assumes
your hands remember lesson 4 by the time lesson 16 arrives.
Two rules carry the whole course: let it crash, and share nothing
- processes talk by messages, never by memory.