- Category: How-Tos
- Published: Tuesday, 10 April 2018 17:25
Comments to the book "Learn You Some Erlang For Great Good" by Fred Hébert, Chapter 3 - Syntax in Functions. Pattern matching is much easier to achieve in Erlang than in many other languages, but the syntax takes some time to get used to. Instead of if-else or similar conditional branching, in Erlang you simply use functional declarations with a pattern. Learning goals: Being able to create pattern matching, retaining unbound vs unboundvariables, and how to work with guards. Challenges: Differences between unbound vs unboundvariables. Fully understanding how to work with guards.