Last Updated: February 25, 2016
·
903
· mrallen1

Erlang: Functions vs Case

There was recently a great discussion on the erlang-questions email list about whether to use pattern matching functions or a case statement in Erlang code.

The entire thread is worth your time.

But the tl;dr summary is to write your Erlang code in the way that seems best and most clear to you and your team.