Polymorphism in Elixir

Sometimes, adopting a new language means letting go of features that we’ve grown to depend on. Even though Elixir decouples the concepts of data, behavior, and time, we still may argue in favor of other OO concepts like polymorphism. For example, in the previous lesson, we wrote this code:

Get hands-on with 1200+ tech skills courses.