dwyl/learn-elixir

Simple but *practical* explanation of pattern matching

Open

#57 opened on Aug 9, 2017

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Elixir (1,695 stars) (113 forks)batch import
help wantedquestion

Description

Pattern matching is one of the core things to understand in Elixir, but I'm yet to find any really good explanations of pattern matching.

Most give you very basic implementations like https://elixirschool.com/en/lessons/basics/pattern-matching/#match-operator, which are ok but leave beginner with very little to build on.

What other things can be done with pattern matching? How is it useful in a live app? Can we add more advanced examples later in the tutorial?

Contributor guide