Tutorial

Tutorial 2 - Type System and Multiple Dispatch

6 steps

In this tutorial, you will learn about Julia's type system and multiple dispatch. With multiple dispatch, you will learn how to write generic functions with multiple associated methods with different argument types.

You will learn the differences between an abstract type and a concrete type. Lastly, you will learn how to write your own custom abstract types as well as its subtypes.

Let's dive in and learn more about this beautiful language, Julia.

For technical help on the StackUp platform & quest-related questions, join our Discord, head to the 🆘 | quest-help-forum channel and look for the correct thread to ask your question.

Helpful prior knowledge

Required to have finished Quest 1 or Tutorial 1.


Learning Outcomes

You will be able to:

  • Explain what is an abstract type vs a concrete types
  • Write generic functions with multiple associated methods
  • Build your own abstract types

Tutorial Steps

Total steps: 6

  • Step 1: Julia Base
  • Step 2: Multiple Dispatch
  • Step 3: Abstract Types vs Concrete Types
  • Step 4: Part 1 | Building Your Shape Types
  • Step 5: Part 2 | Building Your Shape Types
  • Step 6: Stacking It Up!

Help Center Support?

Find articles to support you through your journey or chat with our support team.

Help Center