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.
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
- Introduction to Functional Programming With Elixir01
- What is Elixir Programming Language?02
- What is Functional Programming?03
- What is Recursion and Why Does is Matter?04
- Installing Elixir and Setting Up VS Code05
- Unlearning and Learning Elixir06
- Pattern Matching In Elixir07
- Introduction to Livebook08
- Understanding Immutability in Elixir09
- Actor Model in Elixir10
- Hello World in Elixir11
- Data Types - Atom in Elixir12
- Data Types - Strings in Elixir13
- Data Types - Charlist, Process & Lists In Elixir14
- Tuple & Keyword List In Elixir15
- Maps In Elixir16
- Structs in Elixir17
- Case, Cond And If/else Statements in Elixir18
- Creating Mix Project in Elixir19
- Head & Tail Recursion in Elixir20
- Sum of Digits Using Recursion in Elixir21
- Factorial Using Recursion in Elixir22
- Reverse Number Using Tail Recursion in Elixir23
- List Are Linked List in Elixir24
- List Sum, Module Attributes & Typespec in Elixir25
- Reverse List in Elixir26
- List Map in Elixir27
- Concat Two Lists In Elixir28
- Implementing Flat Map in Elixir29
- Time For a Review30
- Elixir Structs - Seven Wonders - Part 131
- Elixir Structs - Seven Wonder Part 232
- Expense Manager33
- Introduction - Project Statistics — Elixir34
- Population and Sample Mean — Elixir35
- Implementing Mean — Elixir36
- Implementing Median — Elixir37
- Implementing Mode — Elixir38
- Final Words — Elixir39