This course covers functions and modules in Elixir, including defining functions, working with modules, and creating structs and anonymous functions. This prepares the groundwork for understanding the basics of functional programming in Elixir.
Overview
Syllabus
- Lesson 1: Introduction to Functions in Elixir
- Modify the Greeting Message
- Fix the Farewell Function
- Handle Two Arguments in Functions
- Complete the Greeting Function
- Adding a Title
- Write a Greeting Function
- Lesson 2: Introducing Modules in Elixir
- Changing Behavior with Modules
- Fix the Bug in StarWars Module
- Complete the Chef Module
- Write an Artist Module
- Creating Performer and Show Modules
- Lesson 3: Introduction to Structs
- Add a New Struct Field
- Fix a Struct Initialization Bug
- Adding Data with Structs
- Adding a Movie Struct
- Creating a Musician Struct
- Lesson 4: Introduction to Anonymous Functions
- Modify the Anonymous Function
- Debug the Anonymous Function
- Anonymous Function for Farewell
- Marvel at Superpowers
- Anonymous Functions from Scratch