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.
Written by Mark Allen
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Erlang
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#