Elixir · Beginner · Free

Functional Programming with Elixir

Think in functions, pipelines, and immutable data

A ground-up introduction to functional programming through Elixir — pattern matching, the pipe, recursion, and life without shared mutable state.

39 lessons

Most of us learn to program by mutating variables and looping over them. Functional programming asks you to give that up — and hands you something sturdier in return: code that behaves the same way every time you run it, and pieces you can reason about one at a time.

This free course uses Elixir to teach that shift in thinking. You start from the very basics and build up an intuition for immutability, pattern matching, and composing small functions into larger ones — the foundation everything else in Elixir rests on.

What it covers

  • Immutability and why shared state is the enemy
  • Pattern matching and the match operator
  • The pipe operator |>
  • Recursion instead of iteration
  • Higher-order functions with Enum and Stream
  • Maps, keyword lists, and structs
  • Modules, functions, and guards
  • Multiple clauses and function heads

Lessons

0 of 39 complete