dwyl/learn-elixir

Simple but *practical* explanation of pattern matching

Open

#57 aperta il 9 ago 2017

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Elixir (113 fork)batch import
help wantedquestion

Metriche repository

Star
 (1695 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor