Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Structs, Functions, and Modules in Elixir

via CodeSignal

Overview

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.

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

Reviews

Start your review of Structs, Functions, and Modules in Elixir

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.