Pattern matching in Scala
Pattern matching is a feature that is not unfamiliar in a lot of functional languages and Scala is no exception.
It matches a value against several patterns. Each pattern points to an expression. The expression that is associated with the the first matching pattern, will be executed.
Read the full post here:
Written by Marius Herring
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Scala
Authors
Related Tags
#scala
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#