dwyl/learn-elixir

Simple but *practical* explanation of pattern matching

Open

#57 ouverte le 9 août 2017

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Elixir (113 forks)batch import
help wantedquestion

Métriques du dépôt

Stars
 (1 695 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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?

Guide contributeur